
<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->
<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	mc:Ignorable="d">
	<SolidColorBrush x:Key="OutsideFontColor" Color="#FF000000"/>
	<LinearGradientBrush x:Key="NormalBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFFFFFFF"/>
		<GradientStop Offset="0.521" Color="#FF8AAEDA"/>
		<GradientStop Offset="0.194" Color="#FFC6D6EC"/>
		<GradientStop Offset="0.811" Color="#FFB4C9E5"/>
		<GradientStop Offset="0.507" Color="#FFB7C8E0"/>
		<GradientStop Offset="1" Color="#FFD1DEF0"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="NormalBorderBrush" StartPoint="0.5,1" EndPoint="0.5,0">
		<GradientStop Color="#FF84B2D4"/>
		<GradientStop Offset="1" Color="#FFADC7DE"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="NormalHighlightBrush" Color="#FFFFFFFF"/>
	<LinearGradientBrush x:Key="MouseOverBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFFFFFFF"/>
		<GradientStop Offset="0.318" Color="#FFFEF3B5"/>
		<GradientStop Offset="0.488" Color="#FFFFEB70"/>
		<GradientStop Offset="0.502" Color="#FFFFD02E"/>
		<GradientStop Offset="0.834" Color="#FFFFD932"/>
		<GradientStop Offset="1" Color="#FFFFF48B"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="MouseOverBorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFEEE8CF"/>
		<GradientStop Offset="0.536" Color="#FFC4AF8C"/>
		<GradientStop Offset="1" Color="#FFDCD1BF"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="MouseOverHighlightBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFFFFFFB"/>
		<GradientStop Offset="1" Color="#FFFEF3B5"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="PressedBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFC3BCAE"/>
		<GradientStop Offset="0.046" Color="#FFFDCE9D"/>
		<GradientStop Offset="0.452" Color="#FFFFA35B"/>
		<GradientStop Offset="0.461" Color="#FFFF8A2C"/>
		<GradientStop Offset="0.724" Color="#FFFF9F30"/>
		<GradientStop Offset="1" Color="#FFFFC472"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="PressedBorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FF8E8165"/>
		<GradientStop Offset="1" Color="#FFC3BCAE"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="PressedHighlightBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0.665" Color="#FFFFFFFF"/>
		<GradientStop Offset="0" Color="#FFC3BCAE"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="DisabledBackgroundBrush" Color="#A5FFFFFF"/>
	<SolidColorBrush x:Key="DisabledBorderBrush" Color="#66FFFFFF"/>
	<SolidColorBrush x:Key="FocusBrush" Color="#FFE99862"/>
	<LinearGradientBrush x:Key="ControlBackgroundBrush" StartPoint="0.056,0.5" EndPoint="1.204,0.5">
		<GradientStop Offset="0" Color="#FFFFFFFF"/>
		<GradientStop Offset="1" Color="#FFD4D7DB"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ControlBorderBrush" Color="#FFB1703C"/>
	<SolidColorBrush x:Key="GlyphBrush" Color="#FF527DB5"/>
	<!-- CheckBox Brushes -->
	<SolidColorBrush x:Key="CheckBoxBackgroundBrush" Color="#FFF4F4F4"/>
	<SolidColorBrush x:Key="CheckBoxBorderBrush" Color="#FF868686"/>
	<SolidColorBrush x:Key="CheckBoxInnerBoxBackgroundBrush" Color="#FFCACFD5"/>
	<LinearGradientBrush x:Key="CheckBoxInnerBoxBorderBrush" StartPoint="0.915,0.92" EndPoint="-0.007,-0.012">
		<GradientStop Color="#FFE4E5E9"/>
		<GradientStop Offset="1" Color="#FFA2ACB9"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="CheckBoxBackgroundFillBrush" Color="#FFDEEAFA"/>
	<SolidColorBrush x:Key="CheckBoxMouseOverBrush" Color="#FFFCE7AF"/>
	<LinearGradientBrush x:Key="CheckBoxPressBorderBrush" StartPoint="0.886,0.808" EndPoint="0.055,0.119">
		<GradientStop Color="#FFF4D9BE"/>
		<GradientStop Offset="1" Color="#FFF28A27"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="CheckBoxInnerBoxGradientBrush" StartPoint="0.238,0.228" EndPoint="0.752,0.749">
		<GradientStop Offset="0.254" Color="#00F6F6F6"/>
		<GradientStop Offset="0.54" Color="#53F8F8F8"/>
		<GradientStop Offset="0.996" Color="#BFFFFFFF"/>
	</LinearGradientBrush>
	<!-- RadioButton Brushes -->
	<SolidColorBrush x:Key="RadioButtonBackgroundBrush" Color="#FFEDEDEE"/>
	<SolidColorBrush x:Key="RadioButtonBorderBrush" Color="#FF597AA5"/>
	<LinearGradientBrush x:Key="RadioButtonInnerCircleBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFC8CDD2"/>
		<GradientStop Offset="0.531" Color="#FFF2F2F2"/>
		<GradientStop Offset="1" Color="#FFF5F5F5"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadioButtonInnerCircleBorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0.004" Color="#FFB3B8BD"/>
		<GradientStop Offset="1" Color="#FFE0E0E0"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadioButtonMouseOverBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFE3DBA9"/>
		<GradientStop Offset="0.531" Color="#FFFEF5DD"/>
		<GradientStop Offset="1" Color="#FFFEF5DD"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadioButtonMouseOverBorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0.004" Color="#FFE3CF87"/>
		<GradientStop Offset="1" Color="#FFFCF0D3"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadioButtonPressBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFC8CDD2"/>
		<GradientStop Offset="0.531" Color="#FFF2F2F2"/>
		<GradientStop Offset="1" Color="#FFF5F5F5"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadioButtonPressBorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0.004" Color="#FFAC773F"/>
		<GradientStop Offset="0.987" Color="#FFC8B5A3"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="RadioButtonCheckIconBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0.013" Color="#FFFDDC8B"/>
		<GradientStop Offset="0.188" Color="#FFFDDC8B"/>
		<GradientStop Offset="0.491" Color="#FFF9952F"/>
		<GradientStop Offset="1" Color="#FFF9954A"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="RadioButtonCheckIconBorderBrush" Color="#FFDA8229"/>
	<!-- ScrollBar RepeatButtonBrushes -->
	<LinearGradientBrush x:Key="ScrollBarRepeatButtonBrush" StartPoint="0.5,1" EndPoint="0.5,0">
		<GradientStop Offset="0.5" Color="#FFF1F6FE"/>
		<GradientStop Offset="0.513" Color="#FFC7D9F1"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ScrollBarRepeatButtonBorderBrush" Color="#FF8C97A5"/>
	<LinearGradientBrush x:Key="ScrollBarRepeatButtonPressedBrush" StartPoint="0.5,1" EndPoint="0.5,0">
		<GradientStop Offset="0.5" Color="#FFF1F6FE"/>
		<GradientStop Offset="0.513" Color="#FFD1D6DD"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ScrollBarRepeatButtonPressedBorderBrush" Color="#FF19598A"/>
	<!-- ScrollBar ThumbBrushes -->
	<LinearGradientBrush x:Key="ScrollBarThumbBrush" StartPoint="1.062,0.5" EndPoint="-0.062,0.5">
		<GradientStop Offset="0" Color="#FFD1DBE6"/>
		<GradientStop Offset="0.5" Color="#FFD1DAE4"/>
		<GradientStop Offset="0.513" Color="#FFE6E9F0"/>
		<GradientStop Offset="1" Color="#FFE8E9E9"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ScrollBarThumbBorderBrush" Color="#FF606F94"/>
	<LinearGradientBrush x:Key="ScrollBarThumbMouseOverBrush" StartPoint="1.062,0.5" EndPoint="-0.062,0.5">
		<GradientStop Offset="0" Color="#FFB4D1F7"/>
		<GradientStop Offset="0.5" Color="#FFAACBF6"/>
		<GradientStop Offset="0.513" Color="#FFCADFFA"/>
		<GradientStop Offset="1" Color="#FFBED0E8"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ScrollBarThumbMouseOverBorderBrush" Color="#FF3C6EB0"/>
	<LinearGradientBrush x:Key="ScrollBarThumbPressedBrush" StartPoint="1.062,0.5" EndPoint="-0.062,0.5">
		<GradientStop Offset="0" Color="#FFB4D1F7"/>
		<GradientStop Offset="0.5" Color="#FF6EA6F0"/>
		<GradientStop Offset="0.513" Color="#FFA4C7F6"/>
		<GradientStop Offset="1" Color="#FF9CBBE5"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ScrollBarThumbPressedBorderBrush" Color="#FF17498A"/>
	<!-- ListItem Brushes -->
	<LinearGradientBrush x:Key="ListItemSelectedBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0.046" Color="#FFFFFFFF"/>
		<GradientStop Offset="0.194" Color="#FFD7E0EA"/>
		<GradientStop Offset="0.507" Color="#FFBCC5D5"/>
		<GradientStop Offset="0.521" Color="#FFA4ADBB"/>
		<GradientStop Offset="0.811" Color="#FFBAC1CF"/>
		<GradientStop Offset="0.982" Color="#FFE3E4E6"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="ListItemSelectedBorderBrush" StartPoint="0.5,1" EndPoint="0.5,0">
		<GradientStop Color="#FF8B8B8B"/>
		<GradientStop Offset="1" Color="#FFADADAD"/>
	</LinearGradientBrush>
	<!-- Expander ToggleButton Brushes -->
	<LinearGradientBrush x:Key="ExpanderToggleButtonBrush" StartPoint="0.742,0.43" EndPoint="0.293,0.43">
		<GradientStop Color="#FFD6E8FF"/>
		<GradientStop Offset="0.539" Color="#FFE2EEFF"/>
		<GradientStop Offset="1" Color="#FFD6E8FF"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ExpanderToggleButtonBottomBrush" Color="#FFADD1FF"/>
	<LinearGradientBrush x:Key="ExpanderToggleButtonHoverBrush" StartPoint="0.266,0.528" EndPoint="0.667,0.528">
		<GradientStop Offset="0" Color="#FFE3EFFF"/>
		<GradientStop Offset="0.548" Color="#FFFFFFFF"/>
		<GradientStop Offset="1" Color="#FFE3EFFF"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ExpanderToggleArrow2Stroke" Color="#FF567DB1"/>
	<SolidColorBrush x:Key="ExpanderToggleArrowStroke" Color="#FF567DB1"/>
	<!-- ProgressBar Brushes -->
	<LinearGradientBrush x:Key="ProgressBarIndicatorBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFC6D6EC"/>
		<GradientStop Offset="0.502" Color="#FFBDD6FF"/>
		<GradientStop Offset="0.522" Color="#FF71A7FD"/>
		<GradientStop Offset="0.763" Color="#FF94BDFD"/>
		<GradientStop Offset="1" Color="#FFA9CAFF"/>
	</LinearGradientBrush>
	<!-- TabControlBrushes -->
	<SolidColorBrush x:Key="TabControlHeaderBrush" Color="#FFBFDBFF"/>
	<SolidColorBrush x:Key="TabControlContentBrush" Color="#FFE0EAF6"/>
	<SolidColorBrush x:Key="TabControlContentBorderBrush" Color="#FF9ABBE6"/>
	<!-- TabItemBrushes -->
	<RadialGradientBrush x:Key="TabItemHoverBrush" GradientOrigin="0.503,1.06">
		<RadialGradientBrush.RelativeTransform>
			<TransformGroup>
				<ScaleTransform
					CenterX="0.5"
					CenterY="0.5"
					ScaleX="2.06"
					ScaleY="2.418"/>
				<SkewTransform CenterX="0.5" CenterY="0.5"/>
				<RotateTransform Angle="-180" CenterX="0.5" CenterY="0.5"/>
				<TranslateTransform X="0" Y="0.315"/>
			</TransformGroup>
		</RadialGradientBrush.RelativeTransform>
		<GradientStop Offset="0.362" Color="#00FFFFFF"/>
		<GradientStop Offset="0.496" Color="#AEE8E6E6"/>
		<GradientStop Offset="0.629" Color="#F2E7D39C"/>
	</RadialGradientBrush>
	<SolidColorBrush x:Key="TabItemHoverBorderBrush" Color="#FFDDEFFF"/>
	<SolidColorBrush x:Key="TabItemHoverHighlightBrush" Color="#FF9FBCF0"/>
	<LinearGradientBrush x:Key="TabItemSelectedBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFEFF6FE"/>
		<GradientStop Offset="0.384" Color="#FFE0EAF6"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="TabItemSelectedBorderBrush" Color="#FFF3F8FF"/>
	<LinearGradientBrush x:Key="TabItemBorderTopBrush" StartPoint="0.5,-0.5" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFECF9FA"/>
		<GradientStop Offset="1" Color="#FFB4E0F4"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="TabItemHighlightTopBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#FFF3F8FF"/>
		<GradientStop Offset="1" Color="#D8ECF8FC"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="TabItemBorderTop2Brush" Color="#FF9ABBE6"/>
	<LinearGradientBrush x:Key="TabItemFocusBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0" Color="#99F7C53B"/>
		<GradientStop Offset="1" Color="#99F2B93F"/>
	</LinearGradientBrush>
	<!-- SliderThumbBrushes -->
	<SolidColorBrush x:Key="SliderThumbBorderBrush" Color="#FF496FA2"/>
	<SolidColorBrush x:Key="SliderThumbBrush" Color="#FFC1C1C1"/>
	<!-- SliderBrushes -->
	<LinearGradientBrush x:Key="SliderBackgroundBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Offset="0.493" Color="#FF324D70"/>
		<GradientStop Offset="1" Color="#FF6A8BB6"/>
	</LinearGradientBrush>
	<Color x:Key="BlackColor">#FF000000
  
  
	
	</Color>
	<Color x:Key="WhiteColor">#FFFFFFFF
  
  
	
	</Color>
	<SolidColorBrush x:Key="DisabledForegroundBrush" Color="#888"/>
	<!-- TextControlsBrushes-->
	<LinearGradientBrush x:Key="TextControlBorderBrush" StartPoint="0.5,0" EndPoint="0.5,1">
		<GradientStop Color="#FFABAEB3"/>
		<GradientStop Offset="1" Color="#FFE2E8EE"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="WindowBackgroundBrush" Color="#FFF"/>
	<Style x:Key="NuclearButtonFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate>
					<Border>
						<Rectangle
							Margin="2"
							Stroke="#60000000"
							StrokeDashArray="1 2"
							StrokeThickness="1"/>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type Button}">
		<Setter Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}"/>
		<Setter Property="Foreground" Value="#FF042271"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="3"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundOver_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundOver_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0.84"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgoundPressed_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgoundPressed_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="DisabledOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Collapsed}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="Grid" >
						<Border
							x:Name="BackgroundNorm"
							Background="{DynamicResource NormalBrush}"
							BorderBrush="{DynamicResource NormalBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							/>
						<Border
							x:Name="BackgroundNorm_highlight"
							Margin="1"
							BorderBrush="{DynamicResource NormalHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0.65"
							/>
						<Border
							x:Name="BackgroundOver"
							Background="{DynamicResource MouseOverBrush}"
							BorderBrush="{DynamicResource MouseOverBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							Opacity="0"
							/>
						<Border
							x:Name="BackgroundOver_Highlight"
							Margin="1"
							BorderBrush="{DynamicResource MouseOverHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0"
							/>
						<Border
							x:Name="BackgroundPressed"
							Background="{DynamicResource PressedBrush}"
							BorderBrush="{DynamicResource PressedBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							Opacity="0"
							/>
						<Border
							x:Name="BackgoundPressed_Highlight"
							Margin="1"
							BorderBrush="{DynamicResource PressedHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0"
							/>
						<Border
							x:Name="DisabledVisualElement"
							Background="{DynamicResource DisabledBackgroundBrush}"
							BorderBrush="{DynamicResource DisabledBorderBrush}"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
						<ContentPresenter
							x:Name="contentPresenter"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
						<TextBlock
							x:Name="DisabledOverlay"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							Panel.ZIndex="1"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Foreground="#FF8E96A2"
							Text="{TemplateBinding Content}"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="FocusVisualElement"
							Margin="-1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							CornerRadius="2.75"
							IsHitTestVisible="false"
							Opacity="0"
							/>
						<Border
							x:Name="DefaultBorder"
							Margin="-1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							CornerRadius="2.75"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsDefault" Value="True">
							<Setter TargetName="DefaultBorder" Property="Opacity" Value="1"/>
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard1" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard1" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="true"/>
						<Trigger Property="IsEnabled" Value="false">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource DisabledOn}"/>
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="RadioButtonFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate>
					<Border>
						<Rectangle
							Margin="15,0,0,0"
							Stroke="#60000000"
							StrokeDashArray="1 2"
							StrokeThickness="1"/>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="CheckBoxFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate>
					<Border>
						<Rectangle
							Margin="15,0,0,0"
							Stroke="#60000000"
							StrokeDashArray="1 2"
							StrokeThickness="1"/>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type CheckBox}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}"/>
		<Setter Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Padding" Value="4,1,0,0"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type CheckBox}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<ColorAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
								To="#FFF28A27"/>
							<ColorAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
								To="#FFF4D9BE"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundFill"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<ColorAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
								To="#FFFDDA81"/>
							<ColorAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
								To="#FFFCE7AF"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundFill"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="DisabledOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxPress"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxPress"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.400" Value="{x:Static Visibility.Collapsed}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="IndeterminateOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="IndeterminateOff">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Collapsed}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<BulletDecorator Background="Transparent">
						<BulletDecorator.Bullet>
							<Grid>
								<Rectangle
									x:Name="Background"
									Width="13"
									Height="13"
									Margin="1"
									Fill="{DynamicResource CheckBoxBackgroundBrush}"
									RadiusX="0"
									RadiusY="0"
									Stroke="{DynamicResource CheckBoxBorderBrush}"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="BoxFill"
									Width="9"
									Height="9"
									Fill="{DynamicResource CheckBoxInnerBoxBackgroundBrush}"
									RadiusX="0"
									RadiusY="0"
									Stroke="{DynamicResource CheckBoxInnerBoxBorderBrush}"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="BackgroundFill"
									Width="13"
									Height="13"
									Margin="1"
									Fill="{DynamicResource CheckBoxBackgroundFillBrush}"
									Opacity="0"
									RadiusX="0"
									RadiusY="0"
									Stroke="#FF5577A3"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="BoxOver"
									Width="9"
									Height="9"
									Margin="3"
									Fill="{DynamicResource CheckBoxMouseOverBrush}"
									Opacity="0"
									RadiusX="0"
									RadiusY="0"
									StrokeThickness="1"
									>
									<Rectangle.Stroke>
										<LinearGradientBrush StartPoint="0.886,0.808" EndPoint="0.055,0.119">
											<GradientStop Color="#FFFCE7AF"/>
											<GradientStop Offset="1" Color="#FFFDDA81"/>
										</LinearGradientBrush>
									</Rectangle.Stroke>
								</Rectangle>
								<Rectangle
									x:Name="BoxPress"
									Width="9"
									Height="9"
									Margin="3"
									Opacity="0"
									RadiusX="0"
									RadiusY="0"
									Stroke="{DynamicResource CheckBoxPressBorderBrush}"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="BoxGradient"
									Width="7"
									Height="7"
									Fill="{DynamicResource CheckBoxInnerBoxGradientBrush}"
									RadiusX="0"
									RadiusY="0"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="IndeterminateIcon"
									Width="5"
									Height="2"
									HorizontalAlignment="Center"
									VerticalAlignment="Center"
									Fill="{DynamicResource GlyphBrush}"
									Visibility="Collapsed"
									/>
								<Path
									x:Name="CheckIcon"
									Width="7"
									Height="9"
									HorizontalAlignment="Right"
									Margin="0,3.333,3.833,0"
									VerticalAlignment="Top"
									Data="M103.785,598.961 L105.098,597.566 L107.008,600.162 C107.008,600.162 109.910,592.744 109.910,592.744 C109.910,592.744 111.746,593.797 111.746,593.797 C111.746,593.797 107.885,602.758 107.885,602.758 L106.601,602.758 z"
									Fill="{DynamicResource GlyphBrush}"
									Stretch="Fill"
									Visibility="Collapsed"
									/>
								<Rectangle
									x:Name="FocusedVisualElement"
									Opacity="0"
									RadiusX="0"
									RadiusY="0"
									Stroke="{DynamicResource FocusBrush}"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="DisabledVisualElement"
									Margin="1"
									Fill="{DynamicResource DisabledBackgroundBrush}"
									RadiusX="0"
									RadiusY="0"
									Visibility="Collapsed"
									/>
							</Grid>
						</BulletDecorator.Bullet>
						<ContentPresenter
							x:Name="contentPresenter"
							Grid.Column="1"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
					</BulletDecorator>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsChecked" Value="True"/>
								<Condition Property="IsThreeState" Value="True"/>
							</MultiTrigger.Conditions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOff}"/>
							</MultiTrigger.EnterActions>
							<MultiTrigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOn}"/>
							</MultiTrigger.ExitActions>
						</MultiTrigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsChecked" Value="{x:Null}"/>
								<Condition Property="IsThreeState" Value="True"/>
							</MultiTrigger.Conditions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource IndeterminateOn}"/>
							</MultiTrigger.EnterActions>
							<MultiTrigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource IndeterminateOff}"/>
							</MultiTrigger.ExitActions>
							<Setter TargetName="CheckIcon" Property="Opacity" Value="0"/>
						</MultiTrigger>
						<Trigger Property="IsChecked" Value="false">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOn}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOff}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource DisabledOn}"/>
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type RadioButton}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="FocusVisualStyle" Value="{DynamicResource RadioButtonFocusVisual}"/>
		<Setter Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Padding" Value="4,1,0,0"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RadioButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="CircleOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="CircleOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="CirclePress"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="CirclePress"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="DisabledOn"/>
						<Storyboard x:Key="CheckedOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.400" Value="{x:Static Visibility.Collapsed}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<BulletDecorator Background="Transparent">
						<BulletDecorator.Bullet>
							<Grid>
								<Ellipse
									x:Name="Background"
									Width="14"
									Height="14"
									Margin="1"
									Fill="{DynamicResource RadioButtonBackgroundBrush}"
									Stroke="{DynamicResource RadioButtonBorderBrush}"
									StrokeThickness="1"
									/>
								<Ellipse
									x:Name="CircleFill"
									Margin="3.045,3.157,2.955,2.843"
									Fill="{DynamicResource RadioButtonInnerCircleBrush}"
									Stroke="{DynamicResource RadioButtonInnerCircleBorderBrush}"
									StrokeThickness="1"
									/>
								<Ellipse
									x:Name="CircleOver"
									Margin="2.847,2.847,3.153,3.153"
									Fill="{DynamicResource RadioButtonMouseOverBrush}"
									Opacity="0"
									Stroke="{DynamicResource RadioButtonMouseOverBorderBrush}"
									StrokeThickness="1"
									>
								</Ellipse>
								<Ellipse
									x:Name="CirclePress"
									Margin="2.73,2.73,3.27,3.27"
									Fill="{DynamicResource RadioButtonPressBrush}"
									Opacity="0"
									Stroke="{DynamicResource RadioButtonPressBorderBrush}"
									StrokeThickness="1"
									/>
								<Ellipse
									x:Name="CheckIcon"
									Margin="4.47,4.498,3.53,3.502"
									Fill="{DynamicResource RadioButtonCheckIconBrush}"
									Stroke="{DynamicResource RadioButtonCheckIconBorderBrush}"
									StrokeThickness="1"
									Visibility="Collapsed"
									>
								</Ellipse>
								<Ellipse
									x:Name="DisabledVisualElement"
									Width="14"
									Height="14"
									Opacity="0.35"
									>
									<Ellipse.Stroke>
										<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
									</Ellipse.Stroke>
									<Ellipse.Fill>
										<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
									</Ellipse.Fill>
								</Ellipse>
								<Ellipse
									x:Name="FocusedVisualElement"
									Width="16"
									Height="16"
									IsHitTestVisible="false"
									Opacity="0"
									Stroke="{DynamicResource FocusBrush}"
									StrokeThickness="1"
									/>
							</Grid>
						</BulletDecorator.Bullet>
						<ContentPresenter
							x:Name="contentPresenter"
							Grid.Column="1"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
					</BulletDecorator>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsChecked" Value="false">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOn}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOff}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource DisabledOn}"/>
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="NuclearRepeatButton" d:IsControlPart="True" TargetType="{x:Type RepeatButton}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RepeatButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Background"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Background"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.400" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Rectangle
							x:Name="Background"
							Fill="{DynamicResource ScrollBarRepeatButtonBrush}"
							Opacity="0"
							RadiusX="0.5"
							RadiusY="0.5"
							Stroke="{DynamicResource ScrollBarRepeatButtonBorderBrush}"
							StrokeThickness="1"
							/>
						<Rectangle
							x:Name="BackgroundPressed"
							Fill="{DynamicResource ScrollBarRepeatButtonPressedBrush}"
							Opacity="0"
							RadiusX="0.5"
							RadiusY="0.5"
							Stroke="{DynamicResource ScrollBarRepeatButtonPressedBorderBrush}"
							StrokeThickness="1"
							/>
						<Rectangle
							x:Name="Highlight"
							Margin="1"
							IsHitTestVisible="false"
							Opacity="0"
							RadiusX="0.5"
							RadiusY="0.5"
							Stroke="#99FFFFFF"
							StrokeThickness="1"
							/>
						<Rectangle
							x:Name="DisabledElement"
							Fill="{DynamicResource DisabledBackgroundBrush}"
							Opacity="0"
							RadiusX="0"
							RadiusY="0"
							/>
						<ContentPresenter
							x:Name="ContentPresenter"
							HorizontalAlignment="Center"
							VerticalAlignment="Center"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsKeyboardFocused" Value="true"/>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="HoverOn_BeginStoryboard" Storyboard="{StaticResource HoverOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
							<Setter TargetName="ContentPresenter" Property="Opacity" Value="0.5"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="NuclearThumbStyle" d:IsControlPart="True" TargetType="{x:Type Thumb}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Thumb}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundMouseOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundMouseOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="ThumbVisual" >
						<Rectangle
							x:Name="Background"
							Fill="{DynamicResource ScrollBarThumbBrush}"
							RadiusX="1.5"
							RadiusY="1.5"
							Stroke="{DynamicResource ScrollBarThumbBorderBrush}"
							StrokeThickness="1"
							/>
						<Rectangle
							x:Name="BackgroundMouseOver"
							Fill="{DynamicResource ScrollBarThumbMouseOverBrush}"
							Opacity="0"
							RadiusX="1.5"
							RadiusY="1.5"
							Stroke="{DynamicResource ScrollBarThumbMouseOverBorderBrush}"
							StrokeThickness="1"
							/>
						<Rectangle
							x:Name="BackgroundPressed"
							Fill="{DynamicResource ScrollBarThumbPressedBrush}"
							Opacity="0"
							RadiusX="1.5"
							RadiusY="1.5"
							Stroke="{DynamicResource ScrollBarThumbPressedBorderBrush}"
							StrokeThickness="1"
							/>
						<Path
							Width="11"
							Height="1"
							HorizontalAlignment="Center"
							Margin="0,-6,0,0"
							VerticalAlignment="Center"
							Data="M4.833,7.249 L12.012,7.249"
							Stretch="Fill"
							Stroke="#FF848485"
							StrokeThickness="1">
							<Path.Fill>
								<LinearGradientBrush StartPoint="1.062,0.5" EndPoint="-0.062,0.5">
									<GradientStop Offset="0.487" Color="#FFC8C9CC"/>
									<GradientStop Offset="0.518" Color="#FFF0F0F0"/>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
						<Path
							Width="11"
							Height="1"
							HorizontalAlignment="Center"
							Margin="0,-2,0,0"
							VerticalAlignment="Center"
							Data="M4.833,7.249 L12.012,7.249"
							Stretch="Fill"
							Stroke="#FF848485"
							StrokeThickness="1">
							<Path.Fill>
								<LinearGradientBrush StartPoint="1.062,0.5" EndPoint="-0.062,0.5">
									<GradientStop Offset="0.487" Color="#FFC8C9CC"/>
									<GradientStop Offset="0.518" Color="#FFF0F0F0"/>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
						<Path
							Width="11"
							Height="1"
							HorizontalAlignment="Center"
							Margin="0,0,0,-2"
							VerticalAlignment="Center"
							Data="M4.833,7.249 L12.012,7.249"
							Stretch="Fill"
							Stroke="#FF848485"
							StrokeThickness="1">
							<Path.Fill>
								<LinearGradientBrush StartPoint="1.062,0.5" EndPoint="-0.062,0.5">
									<GradientStop Offset="0.487" Color="#FFC8C9CC"/>
									<GradientStop Offset="0.518" Color="#FFF0F0F0"/>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
						<Path
							Width="11"
							Height="1"
							HorizontalAlignment="Center"
							Margin="0,0,0,-6"
							VerticalAlignment="Center"
							Data="M4.833,7.249 L12.012,7.249"
							Stretch="Fill"
							Stroke="#FF848485"
							StrokeThickness="1">
							<Path.Fill>
								<LinearGradientBrush StartPoint="1.062,0.5" EndPoint="-0.062,0.5">
									<GradientStop Offset="0.487" Color="#FFC8C9CC"/>
									<GradientStop Offset="0.518" Color="#FFF0F0F0"/>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
						<Rectangle
							x:Name="Highlight"
							Margin="1"
							IsHitTestVisible="false"
							Opacity="0.6"
							RadiusX="0.5"
							RadiusY="0.5"
							Stroke="{DynamicResource NormalHighlightBrush}"
							StrokeThickness="1"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="ThumbVisual" Property="Opacity" Value="0"/>
						</Trigger>
						<Trigger Property="IsDragging" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="PressedOn_BeginStoryboard" Storyboard="{StaticResource PressedOn}" />
							</Trigger.EnterActions>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="NuclearScrollRepeatButtonStyle" d:IsControlPart="True" TargetType="{x:Type RepeatButton}">
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="BorderBrush" Value="Transparent"/>
		<Setter Property="IsTabStop" Value="false"/>
		<Setter Property="Focusable" Value="false"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RepeatButton}">
					<Grid>
						<Rectangle Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type ScrollBar}">
		<Setter Property="Stylus.IsFlicksEnabled" Value="false"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ScrollBar}">
					<Grid x:Name="GridRoot" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" >
						<Grid.RowDefinitions>
							<RowDefinition MaxHeight="18"/>
							<RowDefinition Height="0.000*"/>
							<RowDefinition MaxHeight="18"/>
						</Grid.RowDefinitions>
						<Rectangle
							Grid.RowSpan="4"
							RadiusX="0"
							RadiusY="0"
							StrokeThickness="1">
							<Rectangle.Stroke>
								<SolidColorBrush Color="#FFF0F0F0"/>
							</Rectangle.Stroke>
							<Rectangle.Fill>
								<SolidColorBrush Color="#FFEFEFEF"/>
							</Rectangle.Fill>
						</Rectangle>
						<RepeatButton
							x:Name="DecreaseRepeat"
							Command="ScrollBar.LineUpCommand"
							Style="{DynamicResource NuclearRepeatButton}"
							>
							<Grid>
								<Path
									Width="10"
									Height="6"
									HorizontalAlignment="Center"
									VerticalAlignment="Center"
									Data="F1 M 541.537,173.589L 531.107,173.589L 536.322,167.49L 541.537,173.589 Z "
									IsHitTestVisible="False"
									Stretch="Uniform">
									<Path.Fill>
										<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
											<GradientStop Color="#FF5E6D91"/>
											<GradientStop Offset="1" Color="#FF2B3B60"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
							</Grid>
						</RepeatButton>
						<Track
							x:Name="PART_Track"
							Grid.Row="1"
							IsDirectionReversed="true"
							Orientation="Vertical"
							>
							<Track.Thumb>
								<Thumb Style="{DynamicResource NuclearThumbStyle}"/>
							</Track.Thumb>
							<Track.IncreaseRepeatButton>
								<RepeatButton
									x:Name="PageUp"
									Command="ScrollBar.PageDownCommand"
									Style="{DynamicResource NuclearScrollRepeatButtonStyle}"
									/>
							</Track.IncreaseRepeatButton>
							<Track.DecreaseRepeatButton>
								<RepeatButton
									x:Name="PageDown"
									Command="ScrollBar.PageUpCommand"
									Style="{DynamicResource NuclearScrollRepeatButtonStyle}"
									/>
							</Track.DecreaseRepeatButton>
						</Track>
						<RepeatButton
							x:Name="IncreaseRepeat"
							Grid.Row="2"
							Command="ScrollBar.LineDownCommand"
							Style="{DynamicResource NuclearRepeatButton}"
							>
							<Grid>
								<Path
									Width="10"
									Height="6"
									Grid.Row="4"
									HorizontalAlignment="Center"
									VerticalAlignment="Center"
									Data="F1 M 531.107,321.943L 541.537,321.943L 536.322,328.042L 531.107,321.943 Z "
									IsHitTestVisible="False"
									Stretch="Uniform">
									<Path.Fill>
										<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
											<GradientStop Offset="0.004" Color="#FF5E6D91"/>
											<GradientStop Offset="0.996" Color="#FF2B3B60"/>
										</LinearGradientBrush>
									</Path.Fill>
								</Path>
							</Grid>
						</RepeatButton>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="Orientation" Value="Horizontal">
							<Setter TargetName="GridRoot" Property="LayoutTransform">
								<Setter.Value>
									<RotateTransform Angle="-90"/>
								</Setter.Value>
							</Setter>
							<Setter TargetName="PART_Track" Property="Orientation" Value="Vertical"/>
							<Setter TargetName="DecreaseRepeat" Property="Command" Value="ScrollBar.LineLeftCommand"/>
							<Setter TargetName="IncreaseRepeat" Property="Command" Value="ScrollBar.LineRightCommand"/>
							<Setter TargetName="PageDown" Property="Command" Value="ScrollBar.PageLeftCommand"/>
							<Setter TargetName="PageUp" Property="Command" Value="ScrollBar.PageRightCommand"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type ScrollViewer}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ScrollViewer}">
					<Grid Background="{TemplateBinding Background}">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="*"/>
							<ColumnDefinition Width="Auto"/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="*"/>
							<RowDefinition Height="Auto"/>
						</Grid.RowDefinitions>
						<ScrollContentPresenter
							Grid.Column="0"
							Grid.Row="0"
							Margin="{TemplateBinding Padding}"
							CanContentScroll="{TemplateBinding CanContentScroll}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"/>
						<ScrollBar
							x:Name="PART_HorizontalScrollBar"
							Grid.Column="0"
							Grid.Row="1"
							AutomationProperties.AutomationId="HorizontalScrollBar"
							Maximum="{TemplateBinding ScrollableWidth}"
							Minimum="0"
							Orientation="Horizontal"
							Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
							ViewportSize="{TemplateBinding ViewportWidth}"
							Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
							/>
						<ScrollBar
							x:Name="PART_VerticalScrollBar"
							Grid.Column="1"
							Grid.Row="0"
							AutomationProperties.AutomationId="VerticalScrollBar"
							Maximum="{TemplateBinding ScrollableHeight}"
							Minimum="0"
							Orientation="Vertical"
							Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
							ViewportSize="{TemplateBinding ViewportHeight}"
							Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
							/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type ListBox}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
		<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
		<Setter Property="ScrollViewer.CanContentScroll" Value="True"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="BorderBrush" Value="{DynamicResource ControlBorderBrush}"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Padding" Value="1"/>
		<Setter Property="IsTabStop" Value="False"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ListBox}">
					<Grid>
						<Border
							x:Name="Border"
							Background="{DynamicResource ControlBackgroundBrush}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="1"
							>
							<ScrollViewer Margin="1" Focusable="false" Foreground="{TemplateBinding Foreground}">
								<StackPanel Margin="2" IsItemsHost="true"/>
							</ScrollViewer>
						</Border>
						<Border
							x:Name="DisabledVisualElement"
							Background="#A5FFFFFF"
							BorderBrush="#66FFFFFF"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsEnabled" Value="false">
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
						<Trigger Property="IsGrouping" Value="true">
							<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style d:IsControlPart="True" TargetType="{x:Type ListBoxItem}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="OverridesDefaultStyle" Value="true"/>
		<Setter Property="Padding" Value="3"/>
		<Setter Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ListBoxItem}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundGradientOver"
								Storyboard.TargetProperty="Opacity"
								To="0.73"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundGradientOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="SelectedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundGradientSelected"
								Storyboard.TargetProperty="Opacity"
								To="0.84"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundGradientSelectedDisabled"
								Storyboard.TargetProperty="Opacity"
								To="0.55"/>
						</Storyboard>
						<Storyboard x:Key="SelectedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundGradientSelected"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundGradientSelectedDisabled"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid SnapsToDevicePixels="true">
						<Rectangle
							x:Name="BackgroundGradientOver"
							Fill="{DynamicResource MouseOverBrush}"
							Opacity="0"
							RadiusX="1"
							RadiusY="1"
							Stroke="{DynamicResource MouseOverBorderBrush}"
							/>
						<Rectangle
							x:Name="BackgroundGradientSelectedDisabled"
							Fill="{DynamicResource ListItemSelectedBrush}"
							Opacity="0"
							RadiusX="1"
							RadiusY="1"
							Stroke="{DynamicResource ListItemSelectedBorderBrush}"
							/>
						<Rectangle
							x:Name="BackgroundGradientSelected"
							Fill="{DynamicResource PressedBrush}"
							Opacity="0"
							RadiusX="1"
							RadiusY="1"
							Stroke="{DynamicResource PressedBorderBrush}"
							StrokeThickness="1"
							>
						</Rectangle>
						<ContentPresenter
							x:Name="contentPresenter"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsSelected" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="SelectedOn_BeginStoryboard" Storyboard="{StaticResource SelectedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ExpanderHeaderFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate>
					<Border>
						<Rectangle
							SnapsToDevicePixels="true"
							Stroke="Black"
							StrokeDashArray="1 2"
							StrokeThickness="1"/>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ExpanderDownHeaderStyle" TargetType="{x:Type ToggleButton}">
		<Setter Property="Foreground" Value="#FF15428B"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="FontWeight" Value="Bold"/>
		<Setter Property="Padding" Value="6,0,4,0"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="arrow_over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="border_over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="arrow_over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="border_over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="CheckedOn">
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow2"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow2"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Focus_Border" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="arrow_focus" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Focus_Border" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="arrow_focus" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid Background="Transparent">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="*"/>
							<ColumnDefinition Width="20"/>
						</Grid.ColumnDefinitions>
						<Border
							x:Name="border_fill"
							Grid.ColumnSpan="2"
							Background="{DynamicResource ExpanderToggleButtonBrush}"
							/>
						<Border
							x:Name="border_inner"
							Grid.ColumnSpan="2"
							Margin="0,0,0,1"
							BorderBrush="#FFFFFFFF"
							BorderThickness="1,1,0,0"
							/>
						<Border
							x:Name="border_bottom"
							Grid.ColumnSpan="2"
							BorderBrush="{DynamicResource ExpanderToggleButtonBottomBrush}"
							BorderThickness="0,0,0,1"
							/>
						<Border
							x:Name="border_over"
							Grid.ColumnSpan="2"
							Margin="1"
							Background="{DynamicResource ExpanderToggleButtonHoverBrush}"
							Opacity="0"
							/>
						<Rectangle
							x:Name="arrow_over"
							Width="20"
							Grid.Column="1"
							Margin="0,1,1,1"
							Fill="{DynamicResource MouseOverBrush}"
							Opacity="0"
							/>
						<Rectangle
							x:Name="arrow_focus"
							Width="20"
							Grid.Column="1"
							Margin="0,1,1,1"
							Fill="{DynamicResource MouseOverBrush}"
							Opacity="0"
							/>
						<Path
							x:Name="arrow2"
							Grid.Column="1"
							HorizontalAlignment="Right"
							Margin="0,0,6,6"
							VerticalAlignment="Center"
							Data="M 1,1.5 L 4.5,5 L 8,1.5"
							RenderTransformOrigin="0.5,0.5"
							Stroke="{DynamicResource ExpanderToggleArrow2Stroke}"
							StrokeThickness="1.5"
							>
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform/>
									<SkewTransform/>
									<RotateTransform/>
									<TranslateTransform/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
						<Path
							x:Name="arrow"
							Grid.Column="1"
							HorizontalAlignment="Right"
							Margin="0,2,6,0"
							VerticalAlignment="Center"
							Data="M 1,1.5 L 4.5,5 L 8,1.5"
							RenderTransformOrigin="0.5,0.5"
							Stroke="{DynamicResource ExpanderToggleArrowStroke}"
							StrokeThickness="1.5"
							>
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform/>
									<SkewTransform/>
									<RotateTransform/>
									<TranslateTransform/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
						<ContentPresenter
							x:Name="header"
							Margin="6,4,4,4"
							VerticalAlignment="Center"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							IsHitTestVisible="false"
							/>
						<Border
							x:Name="Focus_Border"
							Grid.ColumnSpan="2"
							Margin="-1,-1,-1,0"
							Panel.ZIndex="1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsChecked" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ExpanderRightHeaderStyle" TargetType="{x:Type ToggleButton}">
		<Setter Property="Foreground" Value="#FF15428B"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="11"/>
		<Setter Property="FontWeight" Value="Bold"/>
		<Setter Property="Padding" Value="6,0,4,0"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="arrow_over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="border_over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="arrow_over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="border_over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="CheckedOn">
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow2"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.400"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.400"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow2"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Focus_Border" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="arrow_focus" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Focus_Border" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="arrow_focus" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid Background="Transparent" SnapsToDevicePixels="False">
						<Grid.RowDefinitions>
							<RowDefinition Height="19"/>
							<RowDefinition Height="*"/>
						</Grid.RowDefinitions>
						<Border
							x:Name="border_fill"
							Grid.RowSpan="2"
							Background="{DynamicResource ExpanderToggleButtonBrush}"
							
							d:LayoutOverrides="GridBox"/>
						<Border
							x:Name="border_inner"
							Grid.RowSpan="2"
							BorderBrush="#FFFFFFFF"
							BorderThickness="1,1,0,0"
							
							d:LayoutOverrides="GridBox"/>
						<Border
							x:Name="border_bottom"
							Grid.RowSpan="2"
							BorderBrush="{DynamicResource ExpanderToggleButtonBrush}"
							BorderThickness="0,0,0,1"
							
							d:LayoutOverrides="GridBox"/>
						<Border
							x:Name="border_over"
							Grid.RowSpan="2"
							Background="{DynamicResource ExpanderToggleButtonHoverBrush}"
							Opacity="0"
							
							d:LayoutOverrides="GridBox"/>
						<Grid>
							<Grid.LayoutTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Grid.LayoutTransform>
							<Rectangle
								x:Name="arrow_focus"
								Grid.Column="1"
								Margin="1"
								Fill="{DynamicResource MouseOverBrush}"
								Opacity="0"
								/>
							<Rectangle
								x:Name="arrow_over"
								Grid.Column="1"
								Margin="1"
								Fill="{DynamicResource MouseOverBrush}"
								Opacity="0"
								/>
							<Path
								x:Name="arrow2"
								Grid.Column="1"
								HorizontalAlignment="Left"
								Margin="3,0,0,0"
								VerticalAlignment="Center"
								Data="M 1,1.5 L 4.5,5 L 8,1.5"
								RenderTransformOrigin="0.5,0.5"
								Stroke="{DynamicResource ExpanderToggleArrow2Stroke}"
								StrokeThickness="1.5"
								>
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform/>
										<SkewTransform/>
										<RotateTransform Angle="-90"/>
										<TranslateTransform/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Path
								x:Name="arrow"
								Grid.Column="1"
								HorizontalAlignment="Left"
								Margin="7,0,0,0"
								VerticalAlignment="Center"
								Data="M 1,1.5 L 4.5,5 L 8,1.5"
								RenderTransformOrigin="0.5,0.5"
								Stroke="{DynamicResource ExpanderToggleArrowStroke}"
								StrokeThickness="1.5"
								>
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform/>
										<SkewTransform/>
										<RotateTransform Angle="-90"/>
										<TranslateTransform/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
						</Grid>
						<ContentPresenter
							Grid.Row="1"
							HorizontalAlignment="Center"
							Margin="4,4,4,6"
							VerticalAlignment="Top"
							RecognizesAccessKey="True"
							SnapsToDevicePixels="True">
							<ContentPresenter.LayoutTransform>
								<TransformGroup>
									<TransformGroup.Children>
										<TransformCollection>
											<RotateTransform Angle="-90"/>
										</TransformCollection>
									</TransformGroup.Children>
								</TransformGroup>
							</ContentPresenter.LayoutTransform>
						</ContentPresenter>
						<Border
							x:Name="Focus_Border"
							Grid.ColumnSpan="2"
							Grid.RowSpan="2"
							Margin="-1,-1,0,-1"
							Panel.ZIndex="1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsChecked" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ExpanderUpHeaderStyle" TargetType="{x:Type ToggleButton}">
		<Setter Property="Foreground" Value="#FF15428B"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="11"/>
		<Setter Property="FontWeight" Value="Bold"/>
		<Setter Property="Padding" Value="6,0,4,0"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="arrow_over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="border_over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="arrow_over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="border_over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="CheckedOn">
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow2"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.400"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.400"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow2"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Focus_Border" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="arrow_focus" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Focus_Border" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="arrow_focus" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid Background="Transparent">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="*"/>
							<ColumnDefinition Width="20"/>
						</Grid.ColumnDefinitions>
						<Border
							x:Name="border_fill"
							Grid.ColumnSpan="2"
							Background="{DynamicResource ExpanderToggleButtonBrush}"
							/>
						<Border
							x:Name="border_inner"
							Grid.ColumnSpan="2"
							Margin="0,1,0,0"
							BorderBrush="#FFFFFFFF"
							BorderThickness="1,0,0,1"
							/>
						<Border
							x:Name="border_bottom"
							Grid.ColumnSpan="2"
							BorderBrush="{DynamicResource ExpanderToggleButtonBottomBrush}"
							BorderThickness="0,1,0,0"
							/>
						<Border
							x:Name="border_over"
							Grid.ColumnSpan="2"
							Margin="1"
							Background="{DynamicResource ExpanderToggleButtonHoverBrush}"
							Opacity="0"
							/>
						<Rectangle
							x:Name="arrow_over"
							Width="20"
							Grid.Column="1"
							Margin="0,1,1,1"
							Fill="{DynamicResource MouseOverBrush}"
							Opacity="0"
							/>
						<Rectangle
							x:Name="arrow_focus"
							Width="20"
							Grid.Column="1"
							Margin="0,1,1,1"
							Fill="{DynamicResource MouseOverBrush}"
							Opacity="0"
							/>
						<Path
							x:Name="arrow2"
							Grid.Column="1"
							HorizontalAlignment="Right"
							Margin="0,4,6,0"
							VerticalAlignment="Center"
							Data="M 1,1.5 L 4.5,5 L 8,1.5"
							RenderTransformOrigin="0.5,0.5"
							Stroke="{DynamicResource ExpanderToggleArrow2Stroke}"
							StrokeThickness="1.5"
							>
							<Path.LayoutTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="180"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.LayoutTransform>
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleY="-1"/>
									<SkewTransform/>
									<RotateTransform/>
									<TranslateTransform/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
						<Path
							x:Name="arrow"
							Grid.Column="1"
							HorizontalAlignment="Right"
							Margin="0,0,6,4"
							VerticalAlignment="Center"
							Data="M 1,1.5 L 4.5,5 L 8,1.5"
							RenderTransformOrigin="0.5,0.5"
							Stroke="{DynamicResource ExpanderToggleArrowStroke}"
							StrokeThickness="1.5"
							>
							<Path.LayoutTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="180"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Path.LayoutTransform>
							<Path.RenderTransform>
								<TransformGroup>
									<ScaleTransform ScaleY="-1"/>
									<SkewTransform/>
									<RotateTransform/>
									<TranslateTransform/>
								</TransformGroup>
							</Path.RenderTransform>
						</Path>
						<ContentPresenter
							Grid.Row="1"
							HorizontalAlignment="Center"
							Margin="6,4,4,4"
							VerticalAlignment="Top"
							RecognizesAccessKey="True"
							SnapsToDevicePixels="True"/>
						<Border
							x:Name="Focus_Border"
							Grid.ColumnSpan="2"
							Margin="-1,0,-1,-1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							Canvas.ZIndex="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsChecked" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ExpanderLeftHeaderStyle" TargetType="{x:Type ToggleButton}">
		<Setter Property="Foreground" Value="#FF15428B"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="11"/>
		<Setter Property="FontWeight" Value="Bold"/>
		<Setter Property="Padding" Value="6,0,4,0"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="arrow_over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="border_over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="arrow_over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="border_over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="CheckedOn">
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.100"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow2"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="-1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.400"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames
								BeginTime="00:00:00.400"
								Duration="00:00:00.001"
								Storyboard.TargetName="arrow2"
								Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Focus_Border" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="arrow_focus" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Focus_Border" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="arrow_focus" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid Background="Transparent" SnapsToDevicePixels="False">
						<Grid.RowDefinitions>
							<RowDefinition Height="19"/>
							<RowDefinition Height="*"/>
						</Grid.RowDefinitions>
						<Border
							x:Name="border_fill"
							Grid.RowSpan="2"
							Background="{DynamicResource ExpanderToggleButtonBrush}"
							/>
						<Border
							x:Name="border_inner"
							Grid.RowSpan="2"
							BorderBrush="#FFFFFFFF"
							BorderThickness="0,1,1,0"
							/>
						<Border
							x:Name="border_bottom"
							Grid.RowSpan="2"
							BorderBrush="{DynamicResource ExpanderToggleButtonBottomBrush}"
							BorderThickness="0,0,0,1"
							/>
						<Border
							x:Name="border_over"
							Grid.RowSpan="2"
							Background="{DynamicResource ExpanderToggleButtonHoverBrush}"
							Opacity="0"
							/>
						<Grid>
							<Grid.LayoutTransform>
								<TransformGroup>
									<ScaleTransform ScaleX="1" ScaleY="1"/>
									<SkewTransform AngleX="0" AngleY="0"/>
									<RotateTransform Angle="0"/>
									<TranslateTransform X="0" Y="0"/>
								</TransformGroup>
							</Grid.LayoutTransform>
							<Rectangle
								x:Name="arrow_over"
								Margin="1"
								Fill="{DynamicResource MouseOverBrush}"
								Opacity="0"
								/>
							<Rectangle
								x:Name="arrow_focus"
								Margin="1"
								Fill="{DynamicResource MouseOverBrush}"
								Opacity="0"
								/>
							<Path
								x:Name="arrow2"
								HorizontalAlignment="Left"
								Margin="3,0,0,0"
								VerticalAlignment="Center"
								Data="M 1,1.5 L 4.5,5 L 8,1.5"
								RenderTransformOrigin="0.5,0.5"
								Stroke="{DynamicResource ExpanderToggleArrow2Stroke}"
								StrokeThickness="1.5"
								>
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform/>
										<SkewTransform/>
										<RotateTransform Angle="90"/>
										<TranslateTransform/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
							<Path
								x:Name="arrow"
								HorizontalAlignment="Left"
								Margin="7,0,0,0"
								VerticalAlignment="Center"
								Data="M 1,1.5 L 4.5,5 L 8,1.5"
								RenderTransformOrigin="0.5,0.5"
								Stroke="{DynamicResource ExpanderToggleArrowStroke}"
								StrokeThickness="1.5"
								>
								<Path.RenderTransform>
									<TransformGroup>
										<ScaleTransform/>
										<SkewTransform/>
										<RotateTransform Angle="90"/>
										<TranslateTransform/>
									</TransformGroup>
								</Path.RenderTransform>
							</Path>
						</Grid>
						<ContentPresenter
							Grid.Row="1"
							HorizontalAlignment="Center"
							Margin="6,4,4,4"
							VerticalAlignment="Top"
							RecognizesAccessKey="True"
							SnapsToDevicePixels="True">
							<ContentPresenter.LayoutTransform>
								<TransformGroup>
									<TransformGroup.Children>
										<TransformCollection>
											<RotateTransform Angle="90"/>
										</TransformCollection>
									</TransformGroup.Children>
								</TransformGroup>
							</ContentPresenter.LayoutTransform>
						</ContentPresenter>
						<Border
							x:Name="Focus_Border"
							Grid.RowSpan="2"
							Margin="0,-1,-1,-1"
							Panel.ZIndex="1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsChecked" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type Expander}">
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="BorderBrush" Value="Transparent"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Foreground" Value="#FF15428B"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="11"/>
		<Setter Property="FontWeight" Value="Bold"/>
		<Setter Property="Padding" Value="6,0,4,0"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Expander}">
					<Grid>
						<Border
							x:Name="Background"
							BorderThickness="1"
							Padding="0"
							>
							<DockPanel>
								<ToggleButton
									x:Name="HeaderSite"
									MinHeight="0"
									MinWidth="0"
									Margin="1,1,1,0"
									Content="{TemplateBinding Header}"
									ContentTemplate="{TemplateBinding HeaderTemplate}"
									ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}"
									DockPanel.Dock="Top"
									FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}"
									FontFamily="{TemplateBinding FontFamily}"
									FontSize="{TemplateBinding FontSize}"
									FontStretch="{TemplateBinding FontStretch}"
									FontStyle="{TemplateBinding FontStyle}"
									FontWeight="{TemplateBinding FontWeight}"
									Foreground="{TemplateBinding Foreground}"
									HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
									IsChecked="{Binding Path=IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
									Padding="{TemplateBinding Padding}"
									Style="{StaticResource ExpanderDownHeaderStyle}"
									VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
									/>
								<Border
									x:Name="border"
									Margin="1,1,1,1"
									Background="{DynamicResource ControlBackgroundBrush}"
									BorderBrush="{DynamicResource GlyphBrush}"
									BorderThickness="1,1,1,1"
									CornerRadius="1,1,1,1"
									Visibility="Collapsed"
									>
									<ContentPresenter
										x:Name="ExpandSite"
										HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
										Margin="1,1,1,1"
										VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
										DockPanel.Dock="Bottom"
										Focusable="false"
										/>
								</Border>
							</DockPanel>
						</Border>
						<Border
							x:Name="DisabledVisualElement"
							Background="{DynamicResource DisabledBackgroundBrush}"
							BorderBrush="{DynamicResource DisabledBorderBrush}"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsExpanded" Value="true">
							<Setter TargetName="border" Property="Visibility" Value="Visible"/>
						</Trigger>
						<Trigger Property="ExpandDirection" Value="Down"/>
						<Trigger Property="ExpandDirection" Value="Right">
							<Setter TargetName="ExpandSite" Property="DockPanel.Dock" Value="Right"/>
							<Setter TargetName="HeaderSite" Property="DockPanel.Dock" Value="Left"/>
							<Setter TargetName="HeaderSite" Property="Style" Value="{StaticResource ExpanderRightHeaderStyle}"/>
						</Trigger>
						<Trigger Property="ExpandDirection" Value="Up">
							<Setter TargetName="ExpandSite" Property="DockPanel.Dock" Value="Top"/>
							<Setter TargetName="HeaderSite" Property="DockPanel.Dock" Value="Bottom"/>
							<Setter TargetName="HeaderSite" Property="Style" Value="{StaticResource ExpanderUpHeaderStyle}"/>
						</Trigger>
						<Trigger Property="ExpandDirection" Value="Left">
							<Setter TargetName="ExpandSite" Property="DockPanel.Dock" Value="Left"/>
							<Setter TargetName="HeaderSite" Property="DockPanel.Dock" Value="Right"/>
							<Setter TargetName="HeaderSite" Property="Style" Value="{StaticResource ExpanderLeftHeaderStyle}"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<ControlTemplate x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}">
		<ControlTemplate.Resources>
			<Storyboard x:Key="HoverOn">
				<DoubleAnimation
					Duration="00:00:00.100"
					Storyboard.TargetName="rectangleOver"
					Storyboard.TargetProperty="Opacity"
					To="0.8"/>
				<ColorAnimation
					Duration="00:00:00.100"
					Storyboard.TargetName="Background"
					Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)"
					To="#FFFFFFFF"/>
			</Storyboard>
			<Storyboard x:Key="HoverOff">
				<DoubleAnimation
					Duration="00:00:00.400"
					Storyboard.TargetName="rectangleOver"
					Storyboard.TargetProperty="Opacity"
					To="0"/>
				<ColorAnimation
					Duration="00:00:00.400"
					Storyboard.TargetName="Background"
					Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)"
					To="#FFEAF2FB"/>
			</Storyboard>
			<Storyboard x:Key="PressedOn">
				<DoubleAnimation
					Duration="00:00:00.100"
					Storyboard.TargetName="rectanglePress"
					Storyboard.TargetProperty="Opacity"
					To="0.8"/>
				<ColorAnimation
					Duration="00:00:00.100"
					Storyboard.TargetName="Background"
					Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)"
					To="#FFFFFFFF"/>
			</Storyboard>
			<Storyboard x:Key="PressedOff">
				<DoubleAnimation
					Duration="00:00:00.400"
					Storyboard.TargetName="rectanglePress"
					Storyboard.TargetProperty="Opacity"
					To="0"/>
				<ColorAnimation
					Duration="00:00:00.400"
					Storyboard.TargetName="Background"
					Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)"
					To="#FFEAF2FB"/>
			</Storyboard>
			<Storyboard x:Key="CheckedOn">
				<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BackgroundChecked" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>
			<Storyboard x:Key="CheckedOff">
				<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BackgroundChecked" Storyboard.TargetProperty="(UIElement.Opacity)">
					<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
				</DoubleAnimationUsingKeyFrames>
			</Storyboard>
		</ControlTemplate.Resources>
		<Grid x:Name="grid" >
			<Rectangle
				x:Name="Background"
				Fill="#FFEAF2FB"
				IsHitTestVisible="false"
				Stroke="#FF9EBBDE"
				/>
			<Rectangle
				x:Name="BackgroundChecked"
				Margin="1"
				IsHitTestVisible="false"
				Opacity="0"
				>
				<Rectangle.Fill>
					<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
				</Rectangle.Fill>
			</Rectangle>
			<Rectangle
				x:Name="rectangleOver"
				Width="15"
				HorizontalAlignment="Right"
				Fill="{DynamicResource MouseOverBrush}"
				Opacity="0"
				Stroke="#FFE8E8E8"
				/>
			<Rectangle
				x:Name="rectanglePress"
				Width="15"
				HorizontalAlignment="Right"
				Fill="{DynamicResource PressedBrush}"
				Opacity="0"
				Stroke="#FC9E9D9B"
				/>
			<Rectangle
				x:Name="DisabledVisualElement"
				Margin="1"
				Fill="{DynamicResource DisabledBackgroundBrush}"
				IsHitTestVisible="false"
				Visibility="Collapsed"
				/>
			<Path
				x:Name="BtnArrow"
				Width="6"
				HorizontalAlignment="Right"
				Margin="0,0,4,0"
				Data="F1 M 301.14,-189.041L 311.57,-189.041L 306.355,-182.942L 301.14,-189.041 Z "
				Fill="{DynamicResource GlyphBrush}"
				Stretch="Uniform"
				/>
		</Grid>
		<ControlTemplate.Triggers>
			<Trigger Property="IsPressed" Value="True">
				<Trigger.ExitActions>
					<BeginStoryboard x:Name="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}" />
				</Trigger.ExitActions>
				<Trigger.EnterActions>
					<BeginStoryboard x:Name="PressedOn_BeginStoryboard" Storyboard="{StaticResource PressedOn}" />
				</Trigger.EnterActions>
			</Trigger>
			<Trigger Property="IsMouseOver" Value="true">
				<Trigger.ExitActions>
					<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
				</Trigger.ExitActions>
				<Trigger.EnterActions>
					<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
				</Trigger.EnterActions>
			</Trigger>
			<Trigger Property="IsChecked" Value="true">
				<Trigger.ExitActions>
					<BeginStoryboard x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" />
				</Trigger.ExitActions>
				<Trigger.EnterActions>
					<BeginStoryboard x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" />
				</Trigger.EnterActions>
			</Trigger>
			<Trigger Property="IsEnabled" Value="False">
				<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
				<Setter TargetName="DisabledVisualElement" Property="Visibility" Value="Visible"/>
			</Trigger>
		</ControlTemplate.Triggers>
	</ControlTemplate>
	<ControlTemplate x:Key="ComboBoxTextBox" TargetType="{x:Type TextBox}">
		<Border
			x:Name="PART_ContentHost"
			Background="{TemplateBinding Background}"
			Focusable="False"
			/>
	</ControlTemplate>
	<Style TargetType="{x:Type ComboBox}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="6,2,25,2"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ComboBox}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<ToggleButton
							x:Name="ToggleButton"
							Grid.Column="2"
							ClickMode="Press"
							Focusable="false"
							IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
							Template="{DynamicResource ComboBoxToggleButton}"
							/>
						<ContentPresenter
							x:Name="ContentSite"
							HorizontalAlignment="Left"
							Margin="3,3,23,3"
							VerticalAlignment="Center"
							Content="{TemplateBinding SelectionBoxItem}"
							ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
							ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
							IsHitTestVisible="False"
							/>
						<TextBox
							x:Name="PART_EditableTextBox"
							HorizontalAlignment="Left"
							Margin="3,3,23,3"
							VerticalAlignment="Center"
							Background="Transparent"
							Focusable="True"
							IsReadOnly="{TemplateBinding IsReadOnly}"
							Style="{x:Null}"
							Template="{DynamicResource ComboBoxTextBox}"
							Visibility="Hidden"
							/>
						<Rectangle
							x:Name="DisabledVisualElement"
							Fill="{DynamicResource DisabledBackgroundBrush}"
							IsHitTestVisible="false"
							Opacity="0"
							RadiusX="0"
							RadiusY="0"
							Stroke="{DynamicResource DisabledBorderBrush}"
							/>
						<Rectangle
							x:Name="FocusVisualElement"
							Margin="-1"
							IsHitTestVisible="false"
							Opacity="0"
							Stroke="{DynamicResource FocusBrush}"
							StrokeThickness="1"
							/>
						<Popup
							x:Name="Popup"
							Margin="0,1,0,0"
							AllowsTransparency="True"
							Focusable="False"
							IsOpen="{TemplateBinding IsDropDownOpen}"
							Placement="Bottom"
							PopupAnimation="Slide"
							>
							<Grid
								x:Name="DropDown"
								MaxHeight="{TemplateBinding MaxDropDownHeight}"
								MinWidth="{TemplateBinding ActualWidth}"
								SnapsToDevicePixels="True"
								>
								<Border
									x:Name="DropDownBorder"
									Margin="0,-1,0,0"
									Background="{DynamicResource ControlBackgroundBrush}"
									BorderBrush="{DynamicResource ControlBorderBrush}"
									BorderThickness="1"
									CornerRadius="0,0,3,3"
									>
									<ScrollViewer
										Margin="4,6,4,6"
										CanContentScroll="True"
										HorizontalScrollBarVisibility="Auto"
										SnapsToDevicePixels="True"
										VerticalScrollBarVisibility="Auto">
										<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained"/>
									</ScrollViewer>
								</Border>
							</Grid>
						</Popup>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource FocusedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="HasItems" Value="false">
							<Setter TargetName="DropDownBorder" Property="MinHeight" Value="95"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
						<Trigger Property="IsGrouping" Value="true">
							<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
						</Trigger>
						<Trigger Property="AllowsTransparency" SourceName="Popup" Value="true">
							<Setter TargetName="DropDownBorder" Property="CornerRadius" Value="4"/>
							<Setter TargetName="DropDownBorder" Property="Margin" Value="0,2,0,0"/>
						</Trigger>
						<Trigger Property="IsEditable" Value="true">
							<Setter Property="IsTabStop" Value="false"/>
							<Setter TargetName="PART_EditableTextBox" Property="Visibility" Value="Visible"/>
							<Setter TargetName="ContentSite" Property="Visibility" Value="Hidden"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style d:IsControlPart="True" TargetType="{x:Type ComboBoxItem}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="3"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ComboBoxItem}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HighlightOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundGradientOver"
								Storyboard.TargetProperty="Opacity"
								To="0.73"/>
						</Storyboard>
						<Storyboard x:Key="HighlightOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundGradientOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="SelectedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundGradientSelected"
								Storyboard.TargetProperty="Opacity"
								To="0.84"/>
						</Storyboard>
						<Storyboard x:Key="SelectedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundGradientSelected"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid SnapsToDevicePixels="true">
						<Rectangle
							x:Name="BackgroundGradientOver"
							Fill="{DynamicResource MouseOverBrush}"
							Opacity="0"
							RadiusX="1"
							RadiusY="1"
							Stroke="{DynamicResource MouseOverBorderBrush}"
							/>
						<Rectangle
							x:Name="BackgroundGradientSelected"
							Fill="{DynamicResource PressedBrush}"
							Opacity="0"
							RadiusX="1"
							RadiusY="1"
							Stroke="{DynamicResource PressedBorderBrush}"
							StrokeThickness="1"
							/>
						<ContentPresenter
							x:Name="contentPresenter"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="Selector.IsSelected" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="SelectedOn_BeginStoryboard1" Storyboard="{StaticResource SelectedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HighlightOff_BeginStoryboard1" Storyboard="{StaticResource HighlightOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HighlightOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type ProgressBar}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ProgressBar}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="IndeterminateOn" RepeatBehavior="Forever">
							<DoubleAnimationUsingKeyFrames RepeatBehavior="Forever" Storyboard.TargetName="IndeterminateGradientFill" Storyboard.TargetProperty="(Shape.Fill).(Brush.Transform).(TransformGroup.Children)[0].X">
								<SplineDoubleKeyFrame KeyTime="0" Value="0"/>
								<SplineDoubleKeyFrame KeyTime="00:00:.5" Value="20"/>
							</DoubleAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames
								BeginTime="00:00:00"
								Duration="00:00:00.001"
								Storyboard.TargetName="IndeterminateRoot"
								Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Border
							x:Name="PART_Track"
							BorderThickness="1"
							CornerRadius="3"
							Opacity="0.825"
							>
							<Border.Background>
								<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
									<GradientStop Color="#FFFFFFFF"/>
									<GradientStop Offset="0.327" Color="#FFD8D8D8"/>
									<GradientStop Offset="0.488" Color="#FFDADADA"/>
									<GradientStop Offset="0.539" Color="#FFBEBEBE"/>
									<GradientStop Offset="0.77" Color="#FFD6D6D6"/>
									<GradientStop Offset="1" Color="#FFFFFFFF"/>
								</LinearGradientBrush>
							</Border.Background>
							<Border.BorderBrush>
								<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
									<GradientStop Offset="0" Color="#FFBBBBBB"/>
									<GradientStop Offset="1" Color="#FF7E7E7E"/>
								</LinearGradientBrush>
							</Border.BorderBrush>
						</Border>
						<Rectangle
							x:Name="PART_Indicator"
							HorizontalAlignment="Left"
							Margin="1"
							Fill="{DynamicResource ProgressBarIndicatorBrush}"
							Opacity="0.83"
							RadiusX="1.5"
							RadiusY="1.5"
							/>
						<Grid x:Name="IndeterminateRoot" Visibility="Collapsed" >
							<Rectangle
								x:Name="IndeterminateSolidFill"
								Margin="1"
								Fill="#FF6EA4FD"
								RadiusX="2"
								RadiusY="2"
								/>
							<Rectangle
								x:Name="ProgressBarRootGradient"
								Margin="1"
								Panel.ZIndex="1"
								RadiusX="1.5"
								RadiusY="1.5"
								>
								<Rectangle.Fill>
									<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
										<GradientStop Offset="0.046" Color="#F6BCD5FF"/>
										<GradientStop Offset="0.18" Color="#96D4E4FF"/>
										<GradientStop Offset="0.512" Color="#4FFFFFFF"/>
										<GradientStop Offset="0.521" Color="#00D6D6D6"/>
										<GradientStop Offset="1" Color="#BABCD5FF"/>
									</LinearGradientBrush>
								</Rectangle.Fill>
							</Rectangle>
							<Rectangle
								x:Name="IndeterminateGradientFill"
								Margin="1"
								Opacity="0.7"
								RadiusX="2"
								RadiusY="2"
								StrokeThickness="1"
								>
								<Rectangle.Fill>
									<LinearGradientBrush MappingMode="Absolute" SpreadMethod="Repeat" StartPoint="20,1" EndPoint="0,1">
										<LinearGradientBrush.Transform>
											<TransformGroup>
												<TranslateTransform X="0"/>
												<SkewTransform AngleX="-10"/>
											</TransformGroup>
										</LinearGradientBrush.Transform>
										<GradientStop Offset="0.088" Color="#FFBCD5FF"/>
										<GradientStop Offset="0.475" Color="#006EA4FD"/>
										<GradientStop Offset="0.899" Color="#FFBCD5FF"/>
									</LinearGradientBrush>
								</Rectangle.Fill>
							</Rectangle>
						</Grid>
						<Border
							x:Name="DisabledVisualElement"
							Background="#A5FFFFFF"
							BorderBrush="#66FFFFFF"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
						<Trigger Property="IsIndeterminate" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource IndeterminateOn}"/>
							</Trigger.EnterActions>
							<Setter TargetName="PART_Track" Property="Visibility" Value="Collapsed"/>
							<Setter TargetName="PART_Indicator" Property="Visibility" Value="Collapsed"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type TextBox}">
		<Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
		<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
		<Setter Property="AllowDrop" Value="true"/>
		<Setter Property="Background">
			<Setter.Value>
				<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
			</Setter.Value>
		</Setter>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="4"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="BorderBrush" Value="{StaticResource TextControlBorderBrush}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TextBox}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over_Border"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over_Border"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="DisabledOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Border
							x:Name="BorderBase"
							Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							/>
						<Border
							x:Name="Over"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							Opacity="0"
							/>
						<Border
							x:Name="Over_Border"
							Margin="-1"
							BorderBrush="{DynamicResource MouseOverHighlightBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="3.75"
							IsHitTestVisible="False"
							Opacity="0"
							/>
						<ScrollViewer x:Name="PART_ContentHost" Foreground="{DynamicResource OutsideFontColor}" />
						<Border
							x:Name="DisabledVisualElement"
							Background="#A5FFFFFF"
							BorderBrush="#59C0C0C0"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							IsHitTestVisible="False"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="ReadOnlyVisualElement"
							Background="#66FFFFFF"
							CornerRadius="2.75"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="FocusVisualElement"
							BorderBrush="#FFB1703C"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							IsHitTestVisible="False"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsMouseOver" Value="True"/>
								<Condition Property="IsFocused" Value="False"/>
							</MultiTrigger.Conditions>
							<MultiTrigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</MultiTrigger.ExitActions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</MultiTrigger.EnterActions>
						</MultiTrigger>
						<Trigger Property="IsEnabled" Value="False">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="DisabledOn_BeginStoryboard" Storyboard="{StaticResource DisabledOn}" />
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type PasswordBox}">
		<Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
		<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
		<Setter Property="AllowDrop" Value="true"/>
		<Setter Property="Background">
			<Setter.Value>
				<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
			</Setter.Value>
		</Setter>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="4"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="BorderBrush" Value="{StaticResource TextControlBorderBrush}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type PasswordBox}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over_Border"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over_Border"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="DisabledOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Border
							x:Name="BorderBase"
							Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							/>
						<Border
							x:Name="Over"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							Opacity="0"
							/>
						<Border
							x:Name="Over_Border"
							Margin="-1"
							BorderBrush="{DynamicResource MouseOverHighlightBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="3.75"
							IsHitTestVisible="False"
							Opacity="0"
							/>
						<ScrollViewer x:Name="PART_ContentHost" Foreground="{DynamicResource OutsideFontColor}" />
						<Border
							x:Name="DisabledVisualElement"
							Background="#A5FFFFFF"
							BorderBrush="#59C0C0C0"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							IsHitTestVisible="False"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="ReadOnlyVisualElement"
							Background="#66FFFFFF"
							CornerRadius="2.75"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="FocusVisualElement"
							BorderBrush="#FFB1703C"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							IsHitTestVisible="False"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsMouseOver" Value="True"/>
								<Condition Property="IsFocused" Value="False"/>
							</MultiTrigger.Conditions>
							<MultiTrigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</MultiTrigger.ExitActions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</MultiTrigger.EnterActions>
						</MultiTrigger>
						<Trigger Property="IsEnabled" Value="False">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="DisabledOn_BeginStoryboard" Storyboard="{StaticResource DisabledOn}" />
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type RichTextBox}">
		<Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
		<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
		<Setter Property="AllowDrop" Value="true"/>
		<Setter Property="Background">
			<Setter.Value>
				<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
			</Setter.Value>
		</Setter>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="4"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="BorderBrush" Value="{StaticResource TextControlBorderBrush}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RichTextBox}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over_Border"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over_Border"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="DisabledOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Border
							x:Name="BorderBase"
							Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							/>
						<Border
							x:Name="Over"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							Opacity="0"
							/>
						<Border
							x:Name="Over_Border"
							Margin="-1"
							BorderBrush="{DynamicResource MouseOverHighlightBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="3.75"
							IsHitTestVisible="False"
							Opacity="0"
							/>
						<ScrollViewer x:Name="PART_ContentHost" Foreground="{DynamicResource OutsideFontColor}" />
						<Border
							x:Name="DisabledVisualElement"
							Background="#A5FFFFFF"
							BorderBrush="#59C0C0C0"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							IsHitTestVisible="False"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="ReadOnlyVisualElement"
							Background="#66FFFFFF"
							CornerRadius="2.75"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="FocusVisualElement"
							BorderBrush="#FFB1703C"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							IsHitTestVisible="False"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsMouseOver" Value="True"/>
								<Condition Property="IsFocused" Value="False"/>
							</MultiTrigger.Conditions>
							<MultiTrigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</MultiTrigger.ExitActions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</MultiTrigger.EnterActions>
						</MultiTrigger>
						<Trigger Property="IsEnabled" Value="False">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="DisabledOn_BeginStoryboard" Storyboard="{StaticResource DisabledOn}" />
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type Label}">
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Label}">
					<Grid>
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsEnabled" Value="false"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type Menu}">
		<Setter Property="SnapsToDevicePixels" Value="True"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Menu}">
					<Grid>
						<Border
							x:Name="Border"
							Margin="1"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							/>
						<StackPanel
							Background="{DynamicResource TabControlHeaderBrush}"
							ClipToBounds="True"
							IsItemsHost="True"
							Orientation="Horizontal"/>
						<Border
							x:Name="DisabledVisualElement"
							Background="#A5FFFFFF"
							BorderBrush="#66FFFFFF"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsEnabled" Value="False">
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<DropShadowBitmapEffect x:Key="PopupDropShadow" ShadowDepth="1.5" Softness="0.15"/>
	<Style TargetType="{x:Type MenuItem}">
		<Setter Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
		<Setter Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.MenuTextBrushKey}}"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type MenuItem}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HighlightOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BackgroundGradientOver" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="HighlightOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BackgroundGradientOver" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Border
						x:Name="Border"
						Background="{TemplateBinding Background}"
						BorderBrush="{TemplateBinding BorderBrush}"
						BorderThickness="{TemplateBinding BorderThickness}"
						>
						<Grid>
							<Grid.ColumnDefinitions>
								<ColumnDefinition MinWidth="17" Width="Auto" SharedSizeGroup="MenuItemIconColumnGroup"/>
								<ColumnDefinition Width="*"/>
								<ColumnDefinition Width="Auto" SharedSizeGroup="MenuItemIGTColumnGroup"/>
								<ColumnDefinition Width="14"/>
							</Grid.ColumnDefinitions>
							<ContentPresenter
								x:Name="Icon"
								Margin="4,0,6,0"
								VerticalAlignment="Center"
								ContentSource="Icon"
								/>
							<Grid
								x:Name="GlyphPanel"
								Margin="4,0,6,0"
								VerticalAlignment="Center"
								Visibility="Hidden"
								>
								<Path
									x:Name="GlyphPanelpath"
									VerticalAlignment="Center"
									Data="M0,2 L0,4.8 L2.5,7.4 L7.1,2.8 L7.1,0 L2.5,4.6 z"
									Fill="{TemplateBinding Foreground}"
									FlowDirection="LeftToRight"
									/>
							</Grid>
							<Rectangle
								x:Name="BackgroundGradientOver"
								Grid.Column="0"
								Grid.ColumnSpan="4"
								Fill="{DynamicResource MouseOverBrush}"
								Opacity="0"
								Stroke="#FFDBCE99"
								/>
							<ContentPresenter
								x:Name="HeaderHost"
								Grid.Column="1"
								Margin="{TemplateBinding Padding}"
								ContentSource="Header"
								RecognizesAccessKey="True"
								/>
							<Grid
								x:Name="ArrowPanel"
								Grid.Column="3"
								Margin="4,0,6,0"
								VerticalAlignment="Center"
								>
								<Path
									x:Name="ArrowPanelPath"
									VerticalAlignment="Center"
									Data="M0,0 L0,8 L4,4 z"
									Fill="{TemplateBinding Foreground}"
									/>
							</Grid>
							<Popup
								x:Name="SubMenuPopup"
								AllowsTransparency="true"
								Focusable="false"
								IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}"
								Placement="Right"
								PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}"
								VerticalOffset="-3"
								>
								<Grid x:Name="SubMenu" >
									<Border
										x:Name="SubMenuBorder"
										BorderBrush="{DynamicResource ControlBorderBrush}"
										BorderThickness="1"
										>
										<Border.Background>
											<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
										</Border.Background>
									</Border>
									<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle"/>
								</Grid>
							</Popup>
						</Grid>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="Role" Value="TopLevelHeader">
							<Setter Property="Margin" Value="0,1,0,1"/>
							<Setter Property="Padding" Value="6,3,6,3"/>
							<Setter Property="Grid.IsSharedSizeScope" Value="true"/>
							<Setter TargetName="SubMenuPopup" Property="Placement" Value="Bottom"/>
							<Setter TargetName="ArrowPanel" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="Role" Value="TopLevelItem">
							<Setter Property="Margin" Value="0,1,0,1"/>
							<Setter Property="Padding" Value="6,3,6,3"/>
							<Setter TargetName="ArrowPanel" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="Role" Value="SubmenuHeader">
							<Setter Property="DockPanel.Dock" Value="Top"/>
							<Setter Property="Padding" Value="0,2,0,2"/>
							<Setter Property="Grid.IsSharedSizeScope" Value="true"/>
						</Trigger>
						<Trigger Property="Role" Value="SubmenuItem">
							<Setter Property="DockPanel.Dock" Value="Top"/>
							<Setter Property="Padding" Value="0,2,0,2"/>
							<Setter TargetName="ArrowPanel" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="IsSuspendingPopupAnimation" Value="true">
							<Setter TargetName="SubMenuPopup" Property="PopupAnimation" Value="None"/>
						</Trigger>
						<Trigger Property="Icon" Value="{x:Null}">
							<Setter TargetName="Icon" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="IsChecked" Value="true">
							<Setter TargetName="GlyphPanel" Property="Visibility" Value="Visible"/>
							<Setter TargetName="Icon" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="AllowsTransparency" SourceName="SubMenuPopup" Value="true">
							<Setter TargetName="SubMenu" Property="Margin" Value="0,0,3,3"/>
							<Setter TargetName="SubMenu" Property="SnapsToDevicePixels" Value="true"/>
							<Setter TargetName="SubMenuBorder" Property="BitmapEffect" Value="{DynamicResource PopupDropShadow}"/>
						</Trigger>
						<Trigger Property="IsHighlighted" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HighlightOff_BeginStoryboard" Storyboard="{StaticResource HighlightOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HighlightOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type Separator}">
		<Setter Property="Height" Value="1"/>
		<Setter Property="Margin" Value="0,2,0,2"/>
		<Setter Property="Focusable" Value="false"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Separator}">
					<Border BorderBrush="#FFB1703C" BorderThickness="1"/>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type TabControl}">
		<Setter Property="Background" Value="#FFFFFFFF"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="5"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TabControl}">
					<Grid ClipToBounds="true" KeyboardNavigation.TabNavigation="Local" SnapsToDevicePixels="true">
						<Grid.ColumnDefinitions>
							<ColumnDefinition x:Name="ColumnDefinition0" />
							<ColumnDefinition x:Name="ColumnDefinition1" Width="0" />
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition x:Name="RowDefinition0" Height="Auto" />
							<RowDefinition x:Name="RowDefinition1" Height="*" />
						</Grid.RowDefinitions>
						<Border
							x:Name="border"
							Margin="0,0,0,-2"
							Panel.ZIndex="100"
							Background="{DynamicResource TabControlHeaderBrush}"
							CornerRadius="2,2,0,0"
							>
							<TabPanel
								x:Name="HeaderPanel"
								Margin="4,0,0,0"
								Panel.ZIndex="1"
								IsItemsHost="true"
								KeyboardNavigation.TabIndex="1"
								RenderTransformOrigin="0.5,0.5"
								>
								<TabPanel.LayoutTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="0"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</TabPanel.LayoutTransform>
								<TabPanel.RenderTransform>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</TabPanel.RenderTransform>
							</TabPanel>
						</Border>
						<Border
							x:Name="ContentPanel"
							Grid.Row="1"
							Background="{DynamicResource TabControlContentBrush}"
							BorderBrush="{DynamicResource TabControlContentBorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="3,3,1,1"
							>
							<ContentPresenter
								x:Name="PART_SelectedContentHost"
								Margin="4"
								ContentSource="SelectedContent"
								/>
						</Border>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="TabStripPlacement" Value="Bottom">
							<Setter TargetName="ContentPanel" Property="Grid.Row" Value="0"/>
							<Setter TargetName="RowDefinition0" Property="Height" Value="*"/>
							<Setter TargetName="RowDefinition1" Property="Height" Value="Auto"/>
							<Setter TargetName="border" Property="Grid.Row" Value="1"/>
							<Setter TargetName="ContentPanel" Property="CornerRadius" Value="2,2,0,0"/>
							<Setter TargetName="border" Property="CornerRadius" Value="0,0,2,2"/>
							<Setter TargetName="HeaderPanel" Property="Margin" Value="4,-2.5,0,0"/>
							<Setter TargetName="border" Property="Margin" Value="0,0,0,0"/>
						</Trigger>
						<Trigger Property="TabStripPlacement" Value="Left">
							<Setter TargetName="HeaderPanel" Property="Grid.Row" Value="0"/>
							<Setter TargetName="ContentPanel" Property="Grid.Row" Value="0"/>
							<Setter TargetName="ContentPanel" Property="Grid.Column" Value="1"/>
							<Setter TargetName="ColumnDefinition0" Property="Width" Value="Auto"/>
							<Setter TargetName="ColumnDefinition1" Property="Width" Value="*"/>
							<Setter TargetName="RowDefinition0" Property="Height" Value="*"/>
							<Setter TargetName="RowDefinition1" Property="Height" Value="0"/>
							<Setter TargetName="border" Property="Grid.Column" Value="0"/>
							<Setter TargetName="border" Property="Margin" Value="0,0,0,0"/>
							<Setter TargetName="ContentPanel" Property="Margin" Value="0,0,0,0"/>
							<Setter TargetName="border" Property="CornerRadius" Value="0,2,2,0"/>
							<Setter TargetName="ContentPanel" Property="CornerRadius" Value="0,2,2,0"/>
							<Setter TargetName="HeaderPanel" Property="Margin" Value="4,0,-2.5,0"/>
						</Trigger>
						<Trigger Property="TabStripPlacement" Value="Right">
							<Setter TargetName="HeaderPanel" Property="Grid.Row" Value="0"/>
							<Setter TargetName="ContentPanel" Property="Grid.Row" Value="0"/>
							<Setter TargetName="ContentPanel" Property="Grid.Column" Value="0"/>
							<Setter TargetName="ColumnDefinition0" Property="Width" Value="*"/>
							<Setter TargetName="ColumnDefinition1" Property="Width" Value="Auto"/>
							<Setter TargetName="RowDefinition0" Property="Height" Value="*"/>
							<Setter TargetName="RowDefinition1" Property="Height" Value="0"/>
							<Setter TargetName="border" Property="Grid.Column" Value="1"/>
							<Setter TargetName="ContentPanel" Property="CornerRadius" Value="2,0,0,2"/>
							<Setter TargetName="border" Property="CornerRadius" Value="0,2,2,0"/>
							<Setter TargetName="HeaderPanel" Property="Margin" Value="-3,0,0,0"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style d:IsControlPart="True" TargetType="{x:Type TabItem}">
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="10,6,10,6"/>
		<Setter Property="MinWidth" Value="5"/>
		<Setter Property="MinHeight" Value="5"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TabItem}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="SelectedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="SelectedState" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="UnSelectedState" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="SelectedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="UnSelectedState" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="SelectedState" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="TopUnselectedOver" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="TopUnselectedBorderOver" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="TopUnselectedOver" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="TopUnselectedBorderOver" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualTop" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualTop" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="grid" Margin="2,1,2,0" >
						<Grid.LayoutTransform>
							<TransformGroup>
								<ScaleTransform ScaleX="1" ScaleY="1"/>
								<SkewTransform AngleX="0" AngleY="0"/>
								<RotateTransform Angle="0"/>
								<TranslateTransform X="0" Y="0"/>
							</TransformGroup>
						</Grid.LayoutTransform>
						<Grid>
							<Grid x:Name="UnSelectedState" Margin="1,0,1,0" >
								<Border
									x:Name="TopUnselectedOver"
									Background="{DynamicResource TabItemHoverBrush}"
									BorderBrush="{DynamicResource TabItemHoverBorderBrush}"
									BorderThickness="1,1,1,0"
									CornerRadius="2.21,2.21,.5,.5"
									Opacity="0"
									/>
								<Border
									x:Name="TopUnselectedBorderOver"
									Margin="-1,-1,-1,0.5"
									BorderBrush="{DynamicResource TabItemHoverHighlightBrush}"
									BorderThickness="1,1,1,0"
									CornerRadius="3.5,3.5,0,0"
									Opacity="0"
									/>
							</Grid>
							<Grid
								x:Name="SelectedState"
								Margin="1,0,1,-1"
								Opacity="0"
								>
								<Border
									x:Name="BackgroundTop"
									Background="{DynamicResource TabItemSelectedBrush}"
									BorderBrush="{DynamicResource TabItemSelectedBorderBrush}"
									BorderThickness="2,0,2,0"
									CornerRadius="3,3,0,0"
									/>
								<Border
									x:Name="BorderTop"
									BorderBrush="{DynamicResource TabItemBorderTopBrush}"
									BorderThickness="2,0,2,0"
									CornerRadius="3,3,0,0"
									/>
								<Border
									x:Name="HighlightTop"
									Margin="2,0,2,0"
									BorderBrush="{DynamicResource TabItemHighlightTopBrush}"
									BorderThickness="1,3,1,0"
									CornerRadius="1.25,1.25,0,0"
									/>
								<Border
									x:Name="BorderTop2"
									Margin="-1,0,-1,0"
									BorderBrush="{DynamicResource TabItemBorderTop2Brush}"
									BorderThickness="1,1,1,0"
									CornerRadius="3,3,0,0"
									IsHitTestVisible="false"
									/>
								<Border
									x:Name="FocusVisualTop"
									Margin="-1,0,-1,0"
									BorderBrush="{DynamicResource TabItemFocusBrush}"
									BorderThickness="3,2,3,0"
									CornerRadius="3,3,0,0"
									Opacity="0"
									>
								</Border>
							</Grid>
							<Border
								x:Name="DisabledVisualTopSelected"
								Margin="1,0,1,0"
								Background="{DynamicResource DisabledBackgroundBrush}"
								CornerRadius="3,3,0,0"
								IsHitTestVisible="false"
								Visibility="Collapsed"
								/>
							<ContentPresenter
								x:Name="ContentSite"
								HorizontalAlignment="Center"
								Margin="{TemplateBinding Padding}"
								VerticalAlignment="Center"
								ContentSource="Header"
								RecognizesAccessKey="True"
								/>
						</Grid>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="TabStripPlacement" Value="Left">
							<Setter TargetName="grid" Property="LayoutTransform">
								<Setter.Value>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="-90"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="TabStripPlacement" Value="Right">
							<Setter TargetName="grid" Property="LayoutTransform">
								<Setter.Value>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="90"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Setter.Value>
							</Setter>
						</Trigger>
						<Trigger Property="TabStripPlacement" Value="Bottom">
							<Setter TargetName="ContentSite" Property="LayoutTransform">
								<Setter.Value>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="180"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Setter.Value>
							</Setter>
							<Setter TargetName="grid" Property="LayoutTransform">
								<Setter.Value>
									<TransformGroup>
										<ScaleTransform ScaleX="1" ScaleY="1"/>
										<SkewTransform AngleX="0" AngleY="0"/>
										<RotateTransform Angle="180"/>
										<TranslateTransform X="0" Y="0"/>
									</TransformGroup>
								</Setter.Value>
							</Setter>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</MultiTrigger.ExitActions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard x:Name="HoverOn_BeginStoryboard" Storyboard="{StaticResource HoverOn}" />
							</MultiTrigger.EnterActions>
							<MultiTrigger.Conditions>
								<Condition Property="IsMouseOver" Value="True"/>
								<Condition Property="Selector.IsSelected" Value="False"/>
							</MultiTrigger.Conditions>
						</MultiTrigger>
						<Trigger Property="IsSelected" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource SelectedOn}"/>
							</Trigger.EnterActions>
							<Setter Property="Panel.ZIndex" Value="100"/>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsMouseOver" SourceName="grid" Value="True"/>
								<Condition Property="Selector.IsSelected" Value="True"/>
							</MultiTrigger.Conditions>
						</MultiTrigger>
						<Trigger Property="IsEnabled" Value="False">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Foreground">
			<Setter.Value>
				<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
			</Setter.Value>
		</Setter>
		<Style.Triggers>
			<Trigger Property="Selector.IsSelected" Value="True">
				<Setter Property="Foreground" Value="{DynamicResource OutsideFontColor}"/>
			</Trigger>
		</Style.Triggers>
	</Style>
	<Style x:Key="NuclearSliderThumb" d:IsControlPart="True" TargetType="{x:Type Thumb}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="Height" Value="21"/>
		<Setter Property="Width" Value="15"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Thumb}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Press"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Press"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Path
							x:Name="Base"
							Margin="1,1.312,1,0.375"
							Data="M-9.958,0.787 L-3.204,0.787 L-3.205,1.426 L-6.646,1.771 L-9.981,1.433 z"
							Fill="{DynamicResource SliderThumbBrush}"
							Stretch="Fill"
							Stroke="{DynamicResource SliderThumbBorderBrush}"
							StrokeLineJoin="Round"
							StrokeThickness="1"
							/>
						<Path
							x:Name="Over"
							Margin="2,2.312,2,1.375"
							Data="M-9.958,0.787 L-3.204,0.787 L-3.205,1.427 L-6.646,1.772 L-9.981,1.434 z"
							Fill="{DynamicResource MouseOverBrush}"
							Opacity="0"
							Stretch="Fill"
							/>
						<Path
							x:Name="Press"
							Margin="2,2.312,2,1.375"
							Data="M-9.958,0.787 L-3.204,0.787 L-3.205,1.427 L-6.646,1.772 L-9.981,1.434 z"
							Fill="{DynamicResource PressedBrush}"
							Opacity="0"
							Stretch="Fill"
							/>
						<Path
							x:Name="whiteGradient"
							Margin="2,2.312,2,1.375"
							Data="M-9.958,0.787 L-3.204,0.787 L-3.205,1.427 L-6.646,1.772 L-9.981,1.434 z"
							Stretch="Fill"
							>
							<Path.Fill>
								<LinearGradientBrush StartPoint="0.563,0.979" EndPoint="0.5,0">
									<GradientStop Offset="0" Color="#5FFFFFFF"/>
									<GradientStop Offset="0.259" Color="#5FFFFFFF"/>
									<GradientStop Offset="0.393" Color="#00FFFFFF"/>
									<GradientStop Offset="0.643" Color="#00FFFFFF"/>
									<GradientStop Offset="0.75" Color="#75FFFFFF"/>
									<GradientStop Offset="1" Color="#99FFFFFF"/>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
						<Path
							x:Name="Line"
							Width="1"
							Height="10"
							HorizontalAlignment="Center"
							Margin="-1,-2,0,0"
							VerticalAlignment="Center"
							Data="M5.437,2.687 L5.437,12.187"
							Stretch="Fill"
							Stroke="#FF6B81A0"
							StrokeThickness="1"
							/>
						<Path
							x:Name="Line2"
							Width="1"
							Height="10"
							HorizontalAlignment="Center"
							Margin="0,-2,-1,0"
							VerticalAlignment="Center"
							Data="M5.437,2.687 L5.437,12.187"
							Stretch="Fill"
							Stroke="#FFFFFFFF"
							StrokeThickness="1"
							/>
						<Path
							x:Name="DisabledVisualElement"
							Margin="1,1.312,1,0.375"
							Data="M-9.958,0.787 L-3.204,0.787 L-3.205,1.426 L-6.646,1.771 L-9.981,1.433 z"
							Fill="#FFFFFFFF"
							IsHitTestVisible="false"
							Opacity="0"
							Stretch="Fill"
							Stroke="#FFFFFFFF"
							StrokeLineJoin="Round"
							StrokeThickness="1"
							/>
						<Path
							x:Name="FocusVisualElement"
							Data="M-9.958,0.787 L-3.204,0.787 L-3.205,1.427 L-6.646,1.772 L-9.981,1.434 z"
							IsHitTestVisible="false"
							Opacity="0"
							Stretch="Fill"
							Stroke="{DynamicResource FocusBrush}"
							StrokeLineJoin="Round"
							StrokeThickness="1"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard1" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard1" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsDragging" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="PressedOn_BeginStoryboard" Storyboard="{StaticResource PressedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="0.5"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type Slider}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Slider}">
					<Grid x:Name="GridRoot" >
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
							<RowDefinition Height="Auto"/>
						</Grid.RowDefinitions>
						<TickBar
							x:Name="TopTick"
							Height="4"
							Fill="#FF405A78"
							Placement="Top"
							SnapsToDevicePixels="True"
							Visibility="Collapsed"
							/>
						<Rectangle
							Height="6"
							Grid.Column="0"
							Grid.Row="1"
							Margin="7.5,0,7.5,0"
							Fill="{DynamicResource SliderBackgroundBrush}"
							RadiusX="3"
							RadiusY="3"/>
						<Track x:Name="PART_Track" Grid.Row="1" >
							<Track.Thumb>
								<Thumb Style="{DynamicResource NuclearSliderThumb}"/>
							</Track.Thumb>
							<Track.IncreaseRepeatButton>
								<RepeatButton Command="Slider.IncreaseLarge" Style="{DynamicResource NuclearScrollRepeatButtonStyle}"/>
							</Track.IncreaseRepeatButton>
							<Track.DecreaseRepeatButton>
								<RepeatButton Command="Slider.DecreaseLarge" Style="{DynamicResource NuclearScrollRepeatButtonStyle}"/>
							</Track.DecreaseRepeatButton>
						</Track>
						<TickBar
							x:Name="BottomTick"
							Height="4"
							Grid.Row="2"
							Fill="{TemplateBinding Foreground}"
							Placement="Bottom"
							SnapsToDevicePixels="True"
							Visibility="Collapsed"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="TickPlacement" Value="TopLeft">
							<Setter TargetName="TopTick" Property="Visibility" Value="Visible"/>
						</Trigger>
						<Trigger Property="TickPlacement" Value="BottomRight">
							<Setter TargetName="BottomTick" Property="Visibility" Value="Visible"/>
						</Trigger>
						<Trigger Property="TickPlacement" Value="Both">
							<Setter TargetName="TopTick" Property="Visibility" Value="Visible"/>
							<Setter TargetName="BottomTick" Property="Visibility" Value="Visible"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter TargetName="GridRoot" Property="Opacity" Value="0.65"/>
						</Trigger>
						<Trigger Property="Orientation" Value="Vertical">
							<Setter TargetName="GridRoot" Property="LayoutTransform">
								<Setter.Value>
									<RotateTransform Angle="-90"/>
								</Setter.Value>
							</Setter>
							<Setter TargetName="PART_Track" Property="Orientation" Value="Horizontal"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type TreeView}">
		<Setter Property="Background" Value="{DynamicResource ControlBackgroundBrush}"/>
		<Setter Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="BorderBrush" Value="{DynamicResource ControlBorderBrush}"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Padding" Value="4"/>
		<Setter Property="Cursor" Value="Arrow"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TreeView}">
					<Grid>
						<Border
							x:Name="Border"
							Background="{DynamicResource ControlBackgroundBrush}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2"
							>
							<ScrollViewer
								Background="{TemplateBinding Background}"
								CanContentScroll="False"
								Focusable="False"
								HorizontalScrollBarVisibility="Auto"
								Padding="4"
								VerticalScrollBarVisibility="Auto">
								<ItemsPresenter/>
							</ScrollViewer>
						</Border>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="NuclearTreeViewItemToggleButton" d:IsControlPart="True" TargetType="{x:Type ToggleButton}">
		<Setter Property="Focusable" Value="False"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<ColorAnimation
								Duration="0"
								Storyboard.TargetName="UncheckedVisual"
								Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)"
								To="#FFFFCB66"/>
							<ColorAnimation
								Duration="0"
								Storyboard.TargetName="UncheckedVisual"
								Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)"
								To="#FFFFCB66"/>
							<ColorAnimation
								Duration="0"
								Storyboard.TargetName="CheckedVisual"
								Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)"
								To="#FFFFCB66"/>
							<ColorAnimation
								Duration="0"
								Storyboard.TargetName="CheckedVisual"
								Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)"
								To="#FFFFCB66"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<ColorAnimation
								Duration="0"
								Storyboard.TargetName="UncheckedVisual"
								Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)"
								To="#FF9EC6FB"/>
							<ColorAnimation
								Duration="0"
								Storyboard.TargetName="UncheckedVisual"
								Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)"
								To="#FF9EC6FB"/>
							<ColorAnimation
								Duration="0"
								Storyboard.TargetName="CheckedVisual"
								Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)"
								To="#FFE56E17"/>
							<ColorAnimation
								Duration="0"
								Storyboard.TargetName="CheckedVisual"
								Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)"
								To="#FFE56E17"/>
						</Storyboard>
						<Storyboard x:Key="CheckedOn">
							<DoubleAnimation
								Duration="0"
								Storyboard.TargetName="UncheckedVisual"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="0"
								Storyboard.TargetName="CheckedVisual"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<DoubleAnimation
								Duration="0"
								Storyboard.TargetName="UncheckedVisual"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="0"
								Storyboard.TargetName="CheckedVisual"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid HorizontalAlignment="Right" Margin="2,2,5,2">
						<Path
							x:Name="UncheckedVisual"
							Width="6"
							Height="9"
							HorizontalAlignment="Right"
							VerticalAlignment="Center"
							Data="M 0,0 L 0,9 L 5,4.5 Z"
							Fill="#FF9EC6FB"
							Stroke="#FF9EC6FB"
							StrokeLineJoin="Miter"
							/>
						<Path
							x:Name="CheckedVisual"
							Width="6"
							Height="6"
							HorizontalAlignment="Right"
							VerticalAlignment="Center"
							Data="M 6,0 L 6,6 L 0,6 Z"
							Fill="#FFE56E17"
							Opacity="0"
							Stroke="#FFE56E17"
							StrokeLineJoin="Miter"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsChecked" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" />
							</Trigger.EnterActions>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style d:IsControlPart="True" TargetType="{x:Type TreeViewItem}">
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Padding" Value="5,3,15,3"/>
		<Setter Property="Cursor" Value="Arrow"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TreeViewItem}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="SelectedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="select_gradient" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="SelectedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="select_gradient" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="hover_gradient" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="0.85"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="0.65"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="hover_gradient" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="InactiveOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="inactive" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="0.5"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="InactiveOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="inactive" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="grid" >
						<Grid.ColumnDefinitions>
							<ColumnDefinition MinWidth="19" Width="Auto"/>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition Width="*"/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition/>
						</Grid.RowDefinitions>
						<ToggleButton
							x:Name="Expander"
							ClickMode="Press"
							IsChecked="{Binding Path=IsExpanded, RelativeSource={RelativeSource TemplatedParent}}"
							Style="{DynamicResource NuclearTreeViewItemToggleButton}"
							/>
						<Rectangle
							x:Name="select_gradient"
							Grid.Column="1"
							Fill="{DynamicResource PressedBrush}"
							IsHitTestVisible="False"
							Opacity="0"
							RadiusX="1"
							RadiusY="1"
							Stroke="{DynamicResource PressedBorderBrush}"
							StrokeThickness="1"
							/>
						<Rectangle
							x:Name="inactive"
							Grid.Column="1"
							Fill="#FF999999"
							IsHitTestVisible="False"
							Opacity="0"
							RadiusX="2"
							RadiusY="2"
							Stroke="#FF333333"
							StrokeThickness="1"
							/>
						<Rectangle
							x:Name="hover_gradient"
							Grid.Column="1"
							Fill="{DynamicResource MouseOverBrush}"
							IsHitTestVisible="False"
							Opacity="0"
							RadiusX="1"
							RadiusY="1"
							Stroke="{DynamicResource FocusBrush}"
							StrokeThickness="1"
							/>
						<Rectangle
							x:Name="highlight"
							Grid.Column="1"
							Margin="1"
							IsHitTestVisible="False"
							Opacity="0"
							RadiusX="0.5"
							RadiusY="0.5"
							Stroke="{DynamicResource MouseOverHighlightBrush}"
							StrokeThickness="1"
							/>
						<Border
							x:Name="Selection_Border"
							Grid.Column="1"
							BorderThickness="{TemplateBinding BorderThickness}"
							Padding="{TemplateBinding Padding}"
							>
							<ContentPresenter
								x:Name="PART_Header"
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								ContentSource="Header"
								/>
						</Border>
						<ItemsPresenter
							x:Name="ItemsHost"
							Grid.Column="1"
							Grid.ColumnSpan="2"
							Grid.Row="1"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" SourceName="Selection_Border" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="HoverOn_BeginStoryboard" Storyboard="{StaticResource HoverOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsExpanded" Value="false">
							<Setter TargetName="ItemsHost" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="HasItems" Value="false">
							<Setter TargetName="Expander" Property="Visibility" Value="Hidden"/>
						</Trigger>
						<Trigger Property="IsSelected" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource SelectedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.ExitActions>
								<BeginStoryboard x:Name="InactiveOff_BeginStoryboard" Storyboard="{StaticResource InactiveOff}" />
							</MultiTrigger.ExitActions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard x:Name="InactiveOn_BeginStoryboard" Storyboard="{StaticResource InactiveOn}" />
							</MultiTrigger.EnterActions>
							<MultiTrigger.Conditions>
								<Condition Property="IsSelected" Value="true"/>
								<Condition Property="IsSelectionActive" Value="false"/>
							</MultiTrigger.Conditions>
						</MultiTrigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="{x:Static ToolBar.ButtonStyleKey}" TargetType="{x:Type Button}">
		<Setter Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}"/>
		<Setter Property="Foreground" Value="#FF042271"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="3"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundOver_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundOver_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0.84"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgoundPressed_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgoundPressed_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="DisabledOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="contentPresenter" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Collapsed}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="Grid" >
						<Border
							x:Name="BackgroundNorm"
							Background="{DynamicResource NormalBrush}"
							BorderBrush="{DynamicResource NormalBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							/>
						<Border
							x:Name="BackgroundNorm_highlight"
							Margin="1"
							BorderBrush="{DynamicResource NormalHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0.65"
							/>
						<Border
							x:Name="BackgroundOver"
							Background="{DynamicResource MouseOverBrush}"
							BorderBrush="{DynamicResource MouseOverBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							Opacity="0"
							/>
						<Border
							x:Name="BackgroundOver_Highlight"
							Margin="1"
							BorderBrush="{DynamicResource MouseOverHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0"
							/>
						<Border
							x:Name="BackgroundPressed"
							Background="{DynamicResource PressedBrush}"
							BorderBrush="{DynamicResource PressedBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							Opacity="0"
							/>
						<Border
							x:Name="BackgoundPressed_Highlight"
							Margin="1"
							BorderBrush="{DynamicResource PressedHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0"
							/>
						<Border
							x:Name="DisabledVisualElement"
							Background="{DynamicResource DisabledBackgroundBrush}"
							BorderBrush="{DynamicResource DisabledBorderBrush}"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
						<ContentPresenter
							x:Name="contentPresenter"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
						<TextBlock
							x:Name="DisabledOverlay"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							Panel.ZIndex="1"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Foreground="#FF8E96A2"
							Text="{TemplateBinding Content}"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="FocusVisualElement"
							Margin="-1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							CornerRadius="2.75"
							IsHitTestVisible="false"
							Opacity="0"
							/>
						<Border
							x:Name="DefaultBorder"
							Margin="-1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							CornerRadius="2.75"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsDefault" Value="True">
							<Setter TargetName="DefaultBorder" Property="Opacity" Value="1"/>
						</Trigger>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
						</Trigger>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard1" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard1" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="true"/>
						<Trigger Property="IsEnabled" Value="false">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource DisabledOn}"/>
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="{x:Static ToolBar.CheckBoxStyleKey}" TargetType="{x:Type CheckBox}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}"/>
		<Setter Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Padding" Value="4,1,0,0"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type CheckBox}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<ColorAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
								To="#FFF28A27"/>
							<ColorAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
								To="#FFF4D9BE"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundFill"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<ColorAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
								To="#FFFDDA81"/>
							<ColorAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="(Shape.Stroke).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
								To="#FFFCE7AF"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundFill"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="DisabledOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BoxPress"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BoxPress"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.400" Value="{x:Static Visibility.Collapsed}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="IndeterminateOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="IndeterminateOff">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Collapsed}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<BulletDecorator Background="Transparent">
						<BulletDecorator.Bullet>
							<Grid>
								<Rectangle
									x:Name="Background"
									Width="13"
									Height="13"
									Margin="1"
									Fill="{DynamicResource CheckBoxBackgroundBrush}"
									RadiusX="0"
									RadiusY="0"
									Stroke="{DynamicResource CheckBoxBorderBrush}"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="BoxFill"
									Width="9"
									Height="9"
									Fill="{DynamicResource CheckBoxInnerBoxBackgroundBrush}"
									RadiusX="0"
									RadiusY="0"
									Stroke="{DynamicResource CheckBoxInnerBoxBorderBrush}"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="BackgroundFill"
									Width="13"
									Height="13"
									Margin="1"
									Fill="{DynamicResource CheckBoxBackgroundFillBrush}"
									Opacity="0"
									RadiusX="0"
									RadiusY="0"
									Stroke="#FF5577A3"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="BoxOver"
									Width="9"
									Height="9"
									Margin="3"
									Fill="{DynamicResource CheckBoxMouseOverBrush}"
									Opacity="0"
									RadiusX="0"
									RadiusY="0"
									StrokeThickness="1"
									>
									<Rectangle.Stroke>
										<LinearGradientBrush StartPoint="0.886,0.808" EndPoint="0.055,0.119">
											<GradientStop Color="#FFFCE7AF"/>
											<GradientStop Offset="1" Color="#FFFDDA81"/>
										</LinearGradientBrush>
									</Rectangle.Stroke>
								</Rectangle>
								<Rectangle
									x:Name="BoxPress"
									Width="9"
									Height="9"
									Margin="3"
									Opacity="0"
									RadiusX="0"
									RadiusY="0"
									Stroke="{DynamicResource CheckBoxPressBorderBrush}"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="BoxGradient"
									Width="7"
									Height="7"
									Fill="{DynamicResource CheckBoxInnerBoxGradientBrush}"
									RadiusX="0"
									RadiusY="0"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="IndeterminateIcon"
									Width="5"
									Height="2"
									HorizontalAlignment="Center"
									VerticalAlignment="Center"
									Fill="{DynamicResource GlyphBrush}"
									Visibility="Collapsed"
									/>
								<Path
									x:Name="CheckIcon"
									Width="7"
									Height="9"
									HorizontalAlignment="Right"
									Margin="0,3.333,3.833,0"
									VerticalAlignment="Top"
									Data="M103.785,598.961 L105.098,597.566 L107.008,600.162 C107.008,600.162 109.910,592.744 109.910,592.744 C109.910,592.744 111.746,593.797 111.746,593.797 C111.746,593.797 107.885,602.758 107.885,602.758 L106.601,602.758 z"
									Fill="{DynamicResource GlyphBrush}"
									Stretch="Fill"
									Visibility="Collapsed"
									/>
								<Rectangle
									x:Name="FocusedVisualElement"
									Opacity="0"
									RadiusX="0"
									RadiusY="0"
									Stroke="{DynamicResource FocusBrush}"
									StrokeThickness="1"
									/>
								<Rectangle
									x:Name="DisabledVisualElement"
									Margin="1"
									Fill="{DynamicResource DisabledBackgroundBrush}"
									RadiusX="0"
									RadiusY="0"
									Visibility="Collapsed"
									/>
							</Grid>
						</BulletDecorator.Bullet>
						<ContentPresenter
							x:Name="contentPresenter"
							Grid.Column="1"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
					</BulletDecorator>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsChecked" Value="True"/>
								<Condition Property="IsThreeState" Value="True"/>
							</MultiTrigger.Conditions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOff}"/>
							</MultiTrigger.EnterActions>
							<MultiTrigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOn}"/>
							</MultiTrigger.ExitActions>
						</MultiTrigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsChecked" Value="{x:Null}"/>
								<Condition Property="IsThreeState" Value="True"/>
							</MultiTrigger.Conditions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource IndeterminateOn}"/>
							</MultiTrigger.EnterActions>
							<MultiTrigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource IndeterminateOff}"/>
							</MultiTrigger.ExitActions>
							<Setter TargetName="CheckIcon" Property="Opacity" Value="0"/>
						</MultiTrigger>
						<Trigger Property="IsChecked" Value="false">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOn}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOff}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource DisabledOn}"/>
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="{x:Static ToolBar.RadioButtonStyleKey}" TargetType="{x:Type RadioButton}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="FocusVisualStyle" Value="{DynamicResource RadioButtonFocusVisual}"/>
		<Setter Property="Foreground" Value="{StaticResource OutsideFontColor}"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="HorizontalContentAlignment" Value="Left"/>
		<Setter Property="VerticalContentAlignment" Value="Top"/>
		<Setter Property="Padding" Value="4,1,0,0"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type RadioButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="CircleOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="CircleOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="CirclePress"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="CirclePress"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="DisabledOn"/>
						<Storyboard x:Key="CheckedOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.400" Value="{x:Static Visibility.Collapsed}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusedVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<BulletDecorator Background="Transparent">
						<BulletDecorator.Bullet>
							<Grid>
								<Ellipse
									x:Name="Background"
									Width="14"
									Height="14"
									Margin="1"
									Fill="{DynamicResource RadioButtonBackgroundBrush}"
									Stroke="{DynamicResource RadioButtonBorderBrush}"
									StrokeThickness="1"
									/>
								<Ellipse
									x:Name="CircleFill"
									Margin="3.045,3.157,2.955,2.843"
									Fill="{DynamicResource RadioButtonInnerCircleBrush}"
									Stroke="{DynamicResource RadioButtonInnerCircleBorderBrush}"
									StrokeThickness="1"
									/>
								<Ellipse
									x:Name="CircleOver"
									Margin="2.847,2.847,3.153,3.153"
									Fill="{DynamicResource RadioButtonMouseOverBrush}"
									Opacity="0"
									Stroke="{DynamicResource RadioButtonMouseOverBorderBrush}"
									StrokeThickness="1"
									>
								</Ellipse>
								<Ellipse
									x:Name="CirclePress"
									Margin="2.73,2.73,3.27,3.27"
									Fill="{DynamicResource RadioButtonPressBrush}"
									Opacity="0"
									Stroke="{DynamicResource RadioButtonPressBorderBrush}"
									StrokeThickness="1"
									/>
								<Ellipse
									x:Name="CheckIcon"
									Margin="4.47,4.498,3.53,3.502"
									Fill="{DynamicResource RadioButtonCheckIconBrush}"
									Stroke="{DynamicResource RadioButtonCheckIconBorderBrush}"
									StrokeThickness="1"
									Visibility="Collapsed"
									>
								</Ellipse>
								<Ellipse
									x:Name="DisabledVisualElement"
									Width="14"
									Height="14"
									Opacity="0.35"
									>
									<Ellipse.Stroke>
										<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
									</Ellipse.Stroke>
									<Ellipse.Fill>
										<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
									</Ellipse.Fill>
								</Ellipse>
								<Ellipse
									x:Name="FocusedVisualElement"
									Width="16"
									Height="16"
									IsHitTestVisible="false"
									Opacity="0"
									Stroke="{DynamicResource FocusBrush}"
									StrokeThickness="1"
									/>
							</Grid>
						</BulletDecorator.Bullet>
						<ContentPresenter
							x:Name="contentPresenter"
							Grid.Column="1"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
					</BulletDecorator>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsChecked" Value="false">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOn}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource CheckedOff}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource DisabledOn}"/>
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="{x:Static ToolBar.ComboBoxStyleKey}" TargetType="{x:Type ComboBox}">
		<Setter Property="SnapsToDevicePixels" Value="true"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="6,2,25,2"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ComboBox}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<ToggleButton
							x:Name="ToggleButton"
							Grid.Column="2"
							ClickMode="Press"
							Focusable="false"
							IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
							Template="{DynamicResource ComboBoxToggleButton}"
							/>
						<ContentPresenter
							x:Name="ContentSite"
							HorizontalAlignment="Left"
							Margin="3,3,23,3"
							VerticalAlignment="Center"
							Content="{TemplateBinding SelectionBoxItem}"
							ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}"
							ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}"
							IsHitTestVisible="False"
							/>
						<TextBox
							x:Name="PART_EditableTextBox"
							HorizontalAlignment="Left"
							Margin="3,3,23,3"
							VerticalAlignment="Center"
							Background="Transparent"
							Focusable="True"
							IsReadOnly="{TemplateBinding IsReadOnly}"
							Style="{x:Null}"
							Template="{DynamicResource ComboBoxTextBox}"
							Visibility="Hidden"
							/>
						<Rectangle
							x:Name="DisabledVisualElement"
							Fill="{DynamicResource DisabledBackgroundBrush}"
							IsHitTestVisible="false"
							Opacity="0"
							RadiusX="0"
							RadiusY="0"
							Stroke="{DynamicResource DisabledBorderBrush}"
							/>
						<Rectangle
							x:Name="FocusVisualElement"
							Margin="-1"
							IsHitTestVisible="false"
							Opacity="0"
							Stroke="{DynamicResource FocusBrush}"
							StrokeThickness="1"
							/>
						<Popup
							x:Name="Popup"
							Margin="0,1,0,0"
							AllowsTransparency="True"
							Focusable="False"
							IsOpen="{TemplateBinding IsDropDownOpen}"
							Placement="Bottom"
							PopupAnimation="Slide"
							>
							<Grid
								x:Name="DropDown"
								MaxHeight="{TemplateBinding MaxDropDownHeight}"
								MinWidth="{TemplateBinding ActualWidth}"
								SnapsToDevicePixels="True"
								>
								<Border
									x:Name="DropDownBorder"
									Margin="0,-1,0,0"
									Background="{DynamicResource ControlBackgroundBrush}"
									BorderBrush="{DynamicResource ControlBorderBrush}"
									BorderThickness="1"
									CornerRadius="0,0,3,3"
									>
									<ScrollViewer
										Margin="4,6,4,6"
										CanContentScroll="True"
										HorizontalScrollBarVisibility="Auto"
										SnapsToDevicePixels="True"
										VerticalScrollBarVisibility="Auto">
										<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained"/>
									</ScrollViewer>
								</Border>
							</Grid>
						</Popup>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource FocusedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="HasItems" Value="false">
							<Setter TargetName="DropDownBorder" Property="MinHeight" Value="95"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
						<Trigger Property="IsGrouping" Value="true">
							<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
						</Trigger>
						<Trigger Property="AllowsTransparency" SourceName="Popup" Value="true">
							<Setter TargetName="DropDownBorder" Property="CornerRadius" Value="4"/>
							<Setter TargetName="DropDownBorder" Property="Margin" Value="0,2,0,0"/>
						</Trigger>
						<Trigger Property="IsEditable" Value="true">
							<Setter Property="IsTabStop" Value="false"/>
							<Setter TargetName="PART_EditableTextBox" Property="Visibility" Value="Visible"/>
							<Setter TargetName="ContentSite" Property="Visibility" Value="Hidden"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="{x:Static ToolBar.TextBoxStyleKey}" TargetType="{x:Type TextBox}">
		<Setter Property="KeyboardNavigation.TabNavigation" Value="None"/>
		<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
		<Setter Property="AllowDrop" Value="true"/>
		<Setter Property="Background">
			<Setter.Value>
				<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
			</Setter.Value>
		</Setter>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="VerticalContentAlignment" Value="Stretch"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="4"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="BorderBrush">
			<Setter.Value>
				<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
					<GradientStop Color="#FFABAEB3"/>
					<GradientStop Offset="1" Color="#FFE2E8EE"/>
				</LinearGradientBrush>
			</Setter.Value>
		</Setter>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type TextBox}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="Over_Border"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="Over_Border"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="DisabledOn">
							<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="(UIElement.Visibility)">
								<DiscreteObjectKeyFrame KeyTime="00:00:00.100" Value="{x:Static Visibility.Visible}"/>
							</ObjectAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Border
							x:Name="BorderBase"
							Background="{TemplateBinding Background}"
							BorderBrush="{TemplateBinding BorderBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							/>
						<Border
							x:Name="Over"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							Opacity="0"
							/>
						<Border
							x:Name="Over_Border"
							Margin="-1"
							BorderBrush="{DynamicResource MouseOverHighlightBrush}"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="3.75"
							IsHitTestVisible="False"
							Opacity="0"
							/>
						<ScrollViewer x:Name="PART_ContentHost" Foreground="{DynamicResource OutsideFontColor}" />
						<Border
							x:Name="DisabledVisualElement"
							Background="#A5FFFFFF"
							BorderBrush="#59C0C0C0"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							IsHitTestVisible="False"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="ReadOnlyVisualElement"
							Background="#66FFFFFF"
							CornerRadius="2.75"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="FocusVisualElement"
							BorderBrush="#FFB1703C"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="2.75"
							IsHitTestVisible="False"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsMouseOver" Value="True"/>
								<Condition Property="IsFocused" Value="False"/>
							</MultiTrigger.Conditions>
							<MultiTrigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</MultiTrigger.ExitActions>
							<MultiTrigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</MultiTrigger.EnterActions>
						</MultiTrigger>
						<Trigger Property="IsEnabled" Value="False">
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="DisabledOn_BeginStoryboard" Storyboard="{StaticResource DisabledOn}" />
							</Trigger.EnterActions>
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<LinearGradientBrush x:Key="ToolBarHorizontalBackground" StartPoint="0,0" EndPoint="0,1">
		<GradientStop Offset="0" Color="#FFFFFF"/>
		<GradientStop Offset="0.5" Color="#FFFBFF"/>
		<GradientStop Offset="1" Color="#F7F7F7"/>
	</LinearGradientBrush>
	<LinearGradientBrush x:Key="ToolBarToggleButtonHorizontalBackground" StartPoint="0,0" EndPoint="0,1">
		<GradientStop Offset="0" Color="#ECECEC"/>
		<GradientStop Offset="0.5" Color="#DDDDDD"/>
		<GradientStop Offset="1" Color="#A0A0A0"/>
	</LinearGradientBrush>
	<SolidColorBrush x:Key="ToolBarButtonHover" Color="#FF125E7C"/>
	<SolidColorBrush x:Key="ToolBarGripper" Color="#C6C3C6"/>
	<Style x:Key="ToolBarHorizontalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
		<Setter Property="Background" Value="{StaticResource ToolBarToggleButtonHorizontalBackground}"/>
		<Setter Property="MinHeight" Value="0"/>
		<Setter Property="MinWidth" Value="0"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="0.65"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BackgroundOver" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="BackgroundOver_Highlight" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Border
							x:Name="Bd"
							Background="{DynamicResource NormalBrush}"
							CornerRadius="0,0,0,0"
							SnapsToDevicePixels="true"
							/>
						<Border
							x:Name="BackgroundOver"
							Background="{DynamicResource MouseOverBrush}"
							BorderBrush="{DynamicResource MouseOverBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							Opacity="0"
							/>
						<Border
							x:Name="BackgroundOver_Highlight"
							BorderBrush="{DynamicResource MouseOverHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0"
							/>
						<Canvas
							Width="6"
							Height="7"
							HorizontalAlignment="Right"
							Margin="7,2,2,2"
							VerticalAlignment="Bottom"
							SnapsToDevicePixels="true">
							<Path Data="M 1 1.5 L 6 1.5" Stroke="White"/>
							<Path Data="M 0 0.5 L 5 0.5" Stroke="{TemplateBinding Foreground}"/>
							<Path Data="M 0.5 4 L 6.5 4 L 3.5 7 Z" Fill="White"/>
							<Path Data="M -0.5 3 L 5.5 3 L 2.5 6 Z" Fill="{TemplateBinding Foreground}"/>
						</Canvas>
						<Border
							x:Name="FocusVisualElement"
							Margin="-1"
							BorderBrush="#FFE99862"
							BorderThickness="1"
							CornerRadius="2.75"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{StaticResource ToolBarGripper}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<SolidColorBrush x:Key="ToolBarSubMenuBackground" Color="#FFFDFDFD"/>
	<SolidColorBrush x:Key="ToolBarMenuBorder" Color="#FFFFFFFF"/>
	<Style x:Key="ToolBarThumbStyle" TargetType="{x:Type Thumb}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Thumb}">
					<Border
						Background="Transparent"
						CornerRadius="0,0,0,0"
						Padding="{TemplateBinding Padding}"
						SnapsToDevicePixels="True">
						<Rectangle>
							<Rectangle.Fill>
								<DrawingBrush
									TileMode="Tile"
									Viewbox="0,0,4,4"
									ViewboxUnits="Absolute"
									Viewport="0,0,4,4"
									ViewportUnits="Absolute">
									<DrawingBrush.Drawing>
										<DrawingGroup>
											<GeometryDrawing Brush="White" Geometry="M 1 1 L 1 3 L 3 3 L 3 1 z"/>
											<GeometryDrawing Brush="{StaticResource ToolBarGripper}" Geometry="M 0 0 L 0 2 L 2 2 L 2 0 z"/>
										</DrawingGroup>
									</DrawingBrush.Drawing>
								</DrawingBrush>
							</Rectangle.Fill>
						</Rectangle>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter Property="Cursor" Value="SizeAll"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<LinearGradientBrush x:Key="ToolBarToggleButtonVerticalBackground" StartPoint="0,0" EndPoint="1,0">
		<GradientStop Offset="0" Color="#ECECEC"/>
		<GradientStop Offset="0.5" Color="#DDDDDD"/>
		<GradientStop Offset="1" Color="#A0A0A0"/>
	</LinearGradientBrush>
	<Style x:Key="ToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
		<Setter Property="Background" Value="{StaticResource ToolBarToggleButtonVerticalBackground}"/>
		<Setter Property="MinHeight" Value="0"/>
		<Setter Property="MinWidth" Value="0"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<Border
						x:Name="Bd"
						Background="{TemplateBinding Background}"
						CornerRadius="0,0,3,3"
						SnapsToDevicePixels="true"
						>
						<Canvas
							Width="7"
							Height="6"
							HorizontalAlignment="Right"
							Margin="2,7,2,2"
							VerticalAlignment="Bottom"
							SnapsToDevicePixels="true">
							<Path Data="M 1.5 1 L 1.5 6" Stroke="White"/>
							<Path Data="M 0.5 0 L 0.5 5" Stroke="{TemplateBinding Foreground}"/>
							<Path Data="M 3.5 0.5 L 7 3.5 L 4 6.5 Z" Fill="White"/>
							<Path Data="M 3 -0.5 L 6 2.5 L 3 5.5 Z" Fill="{TemplateBinding Foreground}"/>
						</Canvas>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Setter TargetName="Bd" Property="Background" Value="{StaticResource ToolBarButtonHover}"/>
						</Trigger>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Setter TargetName="Bd" Property="Background" Value="{StaticResource ToolBarButtonHover}"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{StaticResource ToolBarGripper}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<LinearGradientBrush x:Key="ToolBarVerticalBackground" StartPoint="0,0" EndPoint="1,0">
		<GradientStop Offset="0" Color="#FFFFFF"/>
		<GradientStop Offset="0.5" Color="#FFFBFF"/>
		<GradientStop Offset="1" Color="#F7F7F7"/>
	</LinearGradientBrush>
	<Style TargetType="{x:Type ToolBar}">
		<Setter Property="Background" Value="{StaticResource ToolBarHorizontalBackground}"/>
		<Setter Property="BorderBrush" Value="#FFB1703C"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToolBar}">
					<Grid
						x:Name="Grid"
						Margin="3,1,1,1"
						SnapsToDevicePixels="true"
						>
						<Grid x:Name="OverflowGrid" HorizontalAlignment="Right" >
							<ToggleButton
								x:Name="OverflowButton"
								ClickMode="Press"
								FocusVisualStyle="{x:Null}"
								IsChecked="{Binding Path=IsOverflowOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
								IsEnabled="{TemplateBinding HasOverflowItems}"
								Style="{StaticResource ToolBarHorizontalOverflowButtonStyle}"
								>
								<ToggleButton.Background>
									<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
										<GradientStop Offset="0" Color="#FFFFFFFF"/>
										<GradientStop Offset="0.521" Color="#FF8AAEDA"/>
										<GradientStop Offset="0.194" Color="#FFC6D6EC"/>
										<GradientStop Offset="0.811" Color="#FFB4C9E5"/>
										<GradientStop Offset="0.507" Color="#FFB7C8E0"/>
										<GradientStop Offset="1" Color="#FFD1DEF0"/>
									</LinearGradientBrush>
								</ToggleButton.Background>
							</ToggleButton>
							<Popup
								x:Name="OverflowPopup"
								AllowsTransparency="true"
								Focusable="false"
								IsOpen="{Binding Path=IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}"
								Placement="Bottom"
								PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}"
								StaysOpen="False"
								>
								<Border x:Name="Shdw" >
									<Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,1">
										<Border.Background>
											<LinearGradientBrush StartPoint="0.056,0.5" EndPoint="1.204,0.5">
												<GradientStop Offset="0" Color="#FFFFFFFF"/>
												<GradientStop Offset="1" Color="#FFD4D7DB"/>
											</LinearGradientBrush>
										</Border.Background>
										<ToolBarOverflowPanel
											x:Name="PART_ToolBarOverflowPanel"
											Margin="2"
											Focusable="true"
											FocusVisualStyle="{x:Null}"
											KeyboardNavigation.DirectionalNavigation="Cycle"
											KeyboardNavigation.TabNavigation="Cycle"
											SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
											WrapWidth="200"
											/>
									</Border>
								</Border>
							</Popup>
						</Grid>
						<Border
							x:Name="MainPanelBorder"
							Margin="0,0,11,0"
							Background="{DynamicResource NormalBrush}"
							BorderBrush="{DynamicResource NormalBorderBrush}"
							BorderThickness="1"
							CornerRadius="0,0,0,0"
							Padding="{TemplateBinding Padding}"
							>
							<Grid>
								<DockPanel KeyboardNavigation.TabIndex="1" KeyboardNavigation.TabNavigation="Local">
									<Thumb
										x:Name="ToolBarThumb"
										Width="10"
										Margin="-3,-1,0,0"
										Padding="6,5,1,6"
										Style="{StaticResource ToolBarThumbStyle}"
										/>
									<ContentPresenter
										x:Name="ToolBarHeader"
										HorizontalAlignment="Center"
										Margin="4,0,4,0"
										VerticalAlignment="Center"
										ContentSource="Header"
										SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
										/>
									<ToolBarPanel
										x:Name="PART_ToolBarPanel"
										Margin="0,1,2,2"
										Background="{DynamicResource NormalBrush}"
										IsItemsHost="true"
										SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
										/>
								</DockPanel>
							</Grid>
						</Border>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsOverflowOpen" Value="true">
							<Setter TargetName="ToolBarThumb" Property="IsEnabled" Value="false"/>
						</Trigger>
						<Trigger Property="Header" Value="{x:Null}">
							<Setter TargetName="ToolBarHeader" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="ToolBarTray.IsLocked" Value="true">
							<Setter TargetName="ToolBarThumb" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="HasDropShadow" SourceName="OverflowPopup" Value="true">
							<Setter TargetName="Shdw" Property="Margin" Value="0,0,5,5"/>
							<Setter TargetName="Shdw" Property="SnapsToDevicePixels" Value="true"/>
							<Setter TargetName="Shdw" Property="Background" Value="#71000000"/>
						</Trigger>
						<Trigger Property="Orientation" Value="Vertical">
							<Setter TargetName="Grid" Property="Margin" Value="1,3,1,1"/>
							<Setter TargetName="OverflowButton" Property="Style" Value="{StaticResource ToolBarVerticalOverflowButtonStyle}"/>
							<Setter TargetName="ToolBarThumb" Property="Height" Value="10"/>
							<Setter TargetName="ToolBarThumb" Property="Width" Value="Auto"/>
							<Setter TargetName="ToolBarThumb" Property="Margin" Value="-1,-3,0,0"/>
							<Setter TargetName="ToolBarThumb" Property="Padding" Value="5,6,6,1"/>
							<Setter TargetName="ToolBarHeader" Property="Margin" Value="0,0,0,4"/>
							<Setter TargetName="PART_ToolBarPanel" Property="Margin" Value="1,0,2,2"/>
							<Setter TargetName="ToolBarThumb" Property="DockPanel.Dock" Value="Top"/>
							<Setter TargetName="ToolBarHeader" Property="DockPanel.Dock" Value="Top"/>
							<Setter TargetName="OverflowGrid" Property="HorizontalAlignment" Value="Stretch"/>
							<Setter TargetName="OverflowGrid" Property="VerticalAlignment" Value="Bottom"/>
							<Setter TargetName="OverflowPopup" Property="Placement" Value="Right"/>
							<Setter TargetName="MainPanelBorder" Property="Margin" Value="0,0,0,11"/>
							<Setter Property="Background" Value="{StaticResource ToolBarVerticalBackground}"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Foreground" Value="#FF000000"/>
	</Style>
	<BorderGapMaskConverter x:Key="BorderGapMaskConverter"/>
	<Style TargetType="{x:Type GroupBox}">
		<Setter Property="BorderBrush" Value="#D5DFE5"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}"/>
		<Setter Property="Foreground" Value="#FF042271"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type GroupBox}">
					<Grid SnapsToDevicePixels="true">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="6"/>
							<ColumnDefinition Width="Auto"/>
							<ColumnDefinition Width="*"/>
							<ColumnDefinition Width="6"/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="Auto"/>
							<RowDefinition Height="Auto"/>
							<RowDefinition Height="*"/>
							<RowDefinition Height="6"/>
						</Grid.RowDefinitions>
						<Border
							Grid.ColumnSpan="4"
							Grid.RowSpan="4"
							BorderThickness="1,1,1,1"
							CornerRadius="4,4,4,4">
							<Border.Background>
								<LinearGradientBrush StartPoint="0.056,0.5" EndPoint="1.204,0.5">
									<GradientStop Offset="0" Color="#FFFFFFFF"/>
									<GradientStop Offset="1" Color="#FFD4D7DB"/>
								</LinearGradientBrush>
							</Border.Background>
						</Border>
						<Border
							Grid.ColumnSpan="4"
							Grid.Row="1"
							Grid.RowSpan="3"
							BorderBrush="{DynamicResource ControlBorderBrush}"
							BorderThickness="1,1,1,1"
							CornerRadius="4">
							<Border.OpacityMask>
								<MultiBinding Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
									<Binding ElementName="Header" Path="ActualWidth"/>
									<Binding Path="ActualWidth" RelativeSource="{RelativeSource Self}"/>
									<Binding Path="ActualHeight" RelativeSource="{RelativeSource Self}"/>
								</MultiBinding>
							</Border.OpacityMask>
							<Border BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3">
								<Border.BorderBrush>
									<SolidColorBrush Color="{DynamicResource MainColor}"/>
								</Border.BorderBrush>
								<Border BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
									<Border.BorderBrush>
										<SolidColorBrush Color="{DynamicResource MainColor}"/>
									</Border.BorderBrush>
								</Border>
							</Border>
						</Border>
						<Border
							Grid.Column="0"
							Grid.ColumnSpan="4"
							Grid.Row="1"
							Grid.RowSpan="3"
							Background="{TemplateBinding Background}"
							BorderBrush="Transparent"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="4"/>
						<Border
							x:Name="Main"
							Grid.ColumnSpan="4"
							Grid.RowSpan="2"
							BorderThickness="1,1,1,0"
							CornerRadius="2,2,0,0"
							>
							<Border
								x:Name="BackgroundNorm"
								Background="{DynamicResource NormalBrush}"
								BorderBrush="{DynamicResource NormalBorderBrush}"
								BorderThickness="1"
								CornerRadius="1.75"
								/>
						</Border>
						<Border
							x:Name="Header"
							Grid.Column="1"
							Grid.Row="0"
							Grid.RowSpan="2"
							Padding="3,1,3,0"
							>
							<ContentPresenter
								Margin="0,4,0,4"
								ContentSource="Header"
								RecognizesAccessKey="True"
								SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
						</Border>
						<ContentPresenter
							Grid.Column="1"
							Grid.ColumnSpan="2"
							Grid.Row="2"
							Margin="{TemplateBinding Padding}"
							SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="{x:Static GridView.GridViewScrollViewerStyleKey}" TargetType="{x:Type ScrollViewer}">
		<Setter Property="Focusable" Value="false"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ScrollViewer}">
					<Grid Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="*"/>
							<ColumnDefinition Width="Auto"/>
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="*"/>
							<RowDefinition Height="Auto"/>
						</Grid.RowDefinitions>
						<DockPanel Margin="{TemplateBinding Padding}">
							<ScrollViewer
								DockPanel.Dock="Top"
								Focusable="false"
								HorizontalScrollBarVisibility="Hidden"
								VerticalScrollBarVisibility="Hidden">
								<GridViewHeaderRowPresenter
									Margin="2,0,2,0"
									AllowsColumnReorder="{Binding Path=TemplatedParent.View.AllowsColumnReorder, RelativeSource={RelativeSource TemplatedParent}}"
									ColumnHeaderContainerStyle="{Binding Path=TemplatedParent.View.ColumnHeaderContainerStyle, RelativeSource={RelativeSource TemplatedParent}}"
									ColumnHeaderContextMenu="{Binding Path=TemplatedParent.View.ColumnHeaderContextMenu, RelativeSource={RelativeSource TemplatedParent}}"
									ColumnHeaderTemplate="{Binding Path=TemplatedParent.View.ColumnHeaderTemplate, RelativeSource={RelativeSource TemplatedParent}}"
									ColumnHeaderTemplateSelector="{Binding Path=TemplatedParent.View.ColumnHeaderTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}"
									ColumnHeaderToolTip="{Binding Path=TemplatedParent.View.ColumnHeaderToolTip, RelativeSource={RelativeSource TemplatedParent}}"
									Columns="{Binding Path=TemplatedParent.View.Columns, RelativeSource={RelativeSource TemplatedParent}}"
									SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
							</ScrollViewer>
							<ScrollContentPresenter
								x:Name="PART_ScrollContentPresenter"
								CanContentScroll="{TemplateBinding CanContentScroll}"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								KeyboardNavigation.DirectionalNavigation="Local"
								SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
								/>
						</DockPanel>
						<ScrollBar
							x:Name="PART_HorizontalScrollBar"
							Grid.Row="1"
							Cursor="Arrow"
							Maximum="{TemplateBinding ScrollableWidth}"
							Minimum="0.0"
							Orientation="Horizontal"
							Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
							ViewportSize="{TemplateBinding ViewportWidth}"
							Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
							/>
						<ScrollBar
							x:Name="PART_VerticalScrollBar"
							Grid.Column="1"
							Cursor="Arrow"
							Maximum="{TemplateBinding ScrollableHeight}"
							Minimum="0.0"
							Orientation="Vertical"
							Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}"
							ViewportSize="{TemplateBinding ViewportHeight}"
							Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
							/>
						<DockPanel
							Grid.Column="1"
							Grid.Row="1"
							Background="{Binding Path=Background, ElementName=PART_VerticalScrollBar}"
							LastChildFill="false">
							<Rectangle
								Width="1"
								DockPanel.Dock="Left"
								Fill="White"
								Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"/>
							<Rectangle
								Height="1"
								DockPanel.Dock="Top"
								Fill="White"
								Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"/>
						</DockPanel>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type ListView}">
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
		<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
		<Setter Property="ScrollViewer.CanContentScroll" Value="true"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="BorderBrush" Value="#FFB1703C"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Padding" Value="1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ListView}">
					<Border
						x:Name="Border"
						BorderBrush="{TemplateBinding BorderBrush}"
						BorderThickness="{TemplateBinding BorderThickness}"
						CornerRadius="1"
						>
						<Border.Background>
							<LinearGradientBrush StartPoint="0.056,0.5" EndPoint="1.204,0.5">
								<GradientStop Offset="0" Color="#FFFFFFFF"/>
								<GradientStop Offset="1" Color="#FFD4D7DB"/>
							</LinearGradientBrush>
						</Border.Background>
						<ScrollViewer Padding="{TemplateBinding Padding}" Style="{DynamicResource {x:Static GridView.GridViewScrollViewerStyleKey}}">
							<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
						</ScrollViewer>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsGrouping" Value="true">
							<Setter Property="ScrollViewer.CanContentScroll" Value="false"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ListViewItemFocusVisual">
		<Setter Property="Control.Template">
			<Setter.Value>
				<ControlTemplate>
					<Rectangle
						RadiusX="2"
						RadiusY="2"
						Stroke="#8E6EA6F5"
						StrokeThickness="1"/>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type ListViewItem}">
		<Setter Property="FocusVisualStyle" Value="{StaticResource ListViewItemFocusVisual}"/>
		<Setter Property="Background" Value="Transparent"/>
		<Setter Property="BorderBrush" Value="Transparent"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Margin" Value="0,0,0,1"/>
		<Setter Property="Padding" Value="5,2,5,2"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ListViewItem}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundGradientOver"
								Storyboard.TargetProperty="Opacity"
								To="0.73"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundGradientOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="SelectedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundGradientSelected"
								Storyboard.TargetProperty="Opacity"
								To="0.84"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundGradientSelectedDisabled"
								Storyboard.TargetProperty="Opacity"
								To="0.55"/>
						</Storyboard>
						<Storyboard x:Key="SelectedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundGradientSelected"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundGradientSelectedDisabled"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
					</ControlTemplate.Resources>
					<Border
						x:Name="border"
						BorderBrush="{TemplateBinding BorderBrush}"
						BorderThickness="{TemplateBinding BorderThickness}"
						CornerRadius="2"
						SnapsToDevicePixels="true"
						>
						<Grid Margin="2,0,2,0">
							<Rectangle
								x:Name="BackgroundGradientOver"
								Fill="{DynamicResource MouseOverBrush}"
								Opacity="0"
								RadiusX="1"
								RadiusY="1"
								Stroke="{DynamicResource MouseOverBorderBrush}"
								/>
							<Rectangle
								x:Name="BackgroundGradientSelectedDisabled"
								Fill="{DynamicResource ListItemSelectedBrush}"
								Opacity="0"
								RadiusX="1"
								RadiusY="1"
								Stroke="{DynamicResource ListItemSelectedBorderBrush}"
								/>
							<Rectangle
								x:Name="BackgroundGradientSelected"
								Fill="{DynamicResource PressedBrush}"
								Opacity="0"
								RadiusX="1"
								RadiusY="1"
								Stroke="{DynamicResource PressedBorderBrush}"
								StrokeThickness="1"
								/>
							<GridViewRowPresenter Margin="0,2,0,2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
						</Grid>
					</Border>
					<ControlTemplate.Triggers>
						<Trigger Property="IsSelected" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="SelectedOn_BeginStoryboard" Storyboard="{StaticResource SelectedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}"/>
						</Trigger>
						<MultiTrigger>
							<MultiTrigger.Conditions>
								<Condition Property="IsSelected" Value="true"/>
								<Condition Property="Selector.IsSelectionActive" Value="false"/>
							</MultiTrigger.Conditions>
						</MultiTrigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Foreground" Value="{DynamicResource OutsideFontColor}"/>
	</Style>
	<Style x:Key="GridViewColumnHeaderGripper" TargetType="{x:Type Thumb}">
		<Setter Property="Canvas.Right" Value="-8.5"/>
		<Setter Property="Width" Value="18"/>
		<Setter Property="Height" Value="{Binding Path=ActualHeight, RelativeSource={RelativeSource TemplatedParent}}"/>
		<Setter Property="Padding" Value="0,3,0,4"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Thumb}">
					<Border Background="#00FFFFFF" Padding="{TemplateBinding Padding}">
						<Rectangle Width="0.5" HorizontalAlignment="Center">
							<Rectangle.Fill>
								<SolidColorBrush Color="{DynamicResource WhiteColor}"/>
							</Rectangle.Fill>
						</Rectangle>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="{x:Type GridViewColumnHeader}" TargetType="{x:Type GridViewColumnHeader}">
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="2,0,2,0"/>
		<Setter Property="Foreground" Value="#FF042271"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="Padding" Value="3"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type GridViewColumnHeader}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundOver_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundOver_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0.84"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgoundPressed_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgoundPressed_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid Margin="0,1,0,1">
						<Grid>
							<Border
								x:Name="BackgroundNorm"
								Background="{DynamicResource NormalBrush}"
								BorderBrush="{DynamicResource NormalBorderBrush}"
								BorderThickness="1"
								CornerRadius="1.75"
								/>
							<Border
								x:Name="BackgroundNorm_highlight"
								Margin="1"
								BorderBrush="{DynamicResource NormalHighlightBrush}"
								BorderThickness="1,0,1,1"
								CornerRadius="1"
								Opacity="0.65"
								/>
							<Border
								x:Name="BackgroundOver"
								Background="{DynamicResource MouseOverBrush}"
								BorderBrush="{DynamicResource MouseOverBorderBrush}"
								BorderThickness="1"
								CornerRadius="1.75"
								Opacity="0"
								/>
							<Border
								x:Name="BackgroundOver_Highlight"
								Margin="1"
								BorderBrush="{DynamicResource MouseOverHighlightBrush}"
								BorderThickness="1,0,1,1"
								CornerRadius="1"
								Opacity="0"
								/>
							<Border
								x:Name="BackgroundPressed"
								Background="{DynamicResource PressedBrush}"
								BorderBrush="{DynamicResource PressedBorderBrush}"
								BorderThickness="1"
								CornerRadius="1.75"
								Opacity="0"
								/>
							<Border
								x:Name="BackgoundPressed_Highlight"
								Margin="1"
								BorderBrush="{DynamicResource PressedHighlightBrush}"
								BorderThickness="1,0,1,1"
								CornerRadius="1"
								Opacity="0"
								/>
							<ContentPresenter
								HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
								Margin="2,2,2,2"
								VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
								RecognizesAccessKey="True"/>
						</Grid>
						<Canvas>
							<Thumb x:Name="PART_HeaderGripper" Style="{StaticResource GridViewColumnHeaderGripper}" />
						</Canvas>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOff}"/>
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource PressedOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="Height" Value="Auto">
							<Setter Property="MinHeight" Value="20"/>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
						</Trigger>
						<Trigger Property="Role" Value="Padding">
							<Setter TargetName="PART_HeaderGripper" Property="Visibility" Value="Collapsed"/>
						</Trigger>
						<Trigger Property="Role" Value="Floating">
							<Setter TargetName="PART_HeaderGripper" Property="Visibility" Value="Collapsed"/>
							<Setter Property="Background" Value="Yellow"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type ToggleButton}">
		<Setter Property="FocusVisualStyle" Value="{StaticResource NuclearButtonFocusVisual}"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Foreground" Value="{DynamicResource OutsideFontColor}"/>
		<Setter Property="HorizontalContentAlignment" Value="Center"/>
		<Setter Property="VerticalContentAlignment" Value="Center"/>
		<Setter Property="Padding" Value="1"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ToggleButton}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="HoverOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundOver"
								Storyboard.TargetProperty="Opacity"
								To="1"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundOver_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="HoverOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundOver"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundOver_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="CheckedOn">
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgroundChecked"
								Storyboard.TargetProperty="Opacity"
								To="0.84"/>
							<DoubleAnimation
								Duration="00:00:00.100"
								Storyboard.TargetName="BackgoundChecked_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="CheckedOff">
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgroundChecked"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.400"
								Storyboard.TargetName="BackgoundChecked_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="PressedOn">
							<DoubleAnimation
								Duration="00:00:00.001"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0.84"/>
							<DoubleAnimation
								Duration="00:00:00.001"
								Storyboard.TargetName="BackgoundPressed_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0.65"/>
						</Storyboard>
						<Storyboard x:Key="PressedOff">
							<DoubleAnimation
								Duration="00:00:00.001"
								Storyboard.TargetName="BackgroundPressed"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
							<DoubleAnimation
								Duration="00:00:00.001"
								Storyboard.TargetName="BackgoundPressed_Highlight"
								Storyboard.TargetProperty="Opacity"
								To="0"/>
						</Storyboard>
						<Storyboard x:Key="FocusedOn">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.100" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="FocusedOff">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
								<SplineDoubleKeyFrame KeyTime="00:00:00.300" Value="0"/>
							</DoubleAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid x:Name="grid1" >
						<Border
							x:Name="BackgroundNorm"
							Background="{DynamicResource NormalBrush}"
							BorderBrush="{DynamicResource NormalBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							/>
						<Border
							x:Name="BackgroundNorm_highlight"
							Margin="1"
							BorderBrush="{DynamicResource NormalHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0.65"
							/>
						<Border
							x:Name="BackgroundChecked"
							Background="{DynamicResource PressedBrush}"
							BorderBrush="{DynamicResource PressedBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							Opacity="0"
							/>
						<Border
							x:Name="BackgoundChecked_Highlight"
							Margin="1"
							BorderBrush="{DynamicResource PressedHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0"
							/>
						<Border
							x:Name="BackgroundOver"
							Background="{DynamicResource MouseOverBrush}"
							BorderBrush="{DynamicResource MouseOverBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							Opacity="0"
							/>
						<Border
							x:Name="BackgroundOver_Highlight"
							Margin="1"
							BorderBrush="{DynamicResource MouseOverHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0"
							/>
						<Border
							x:Name="BackgroundPressed"
							Background="{DynamicResource PressedBrush}"
							BorderBrush="{DynamicResource PressedBorderBrush}"
							BorderThickness="1"
							CornerRadius="1.75"
							Opacity="0"
							/>
						<Border
							x:Name="BackgoundPressed_Highlight"
							Margin="1"
							BorderBrush="{DynamicResource PressedHighlightBrush}"
							BorderThickness="1,0,1,1"
							CornerRadius="1"
							Opacity="0"
							/>
						<Border
							x:Name="DisabledVisualElement"
							Background="{DynamicResource DisabledBackgroundBrush}"
							BorderBrush="{DynamicResource DisabledBorderBrush}"
							BorderThickness="1"
							IsHitTestVisible="false"
							Opacity="0"
							/>
						<ContentPresenter
							x:Name="contentPresenter"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Content="{TemplateBinding Content}"
							ContentTemplate="{TemplateBinding ContentTemplate}"
							/>
						<TextBlock
							x:Name="DisabledOverlay"
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
							Margin="{TemplateBinding Padding}"
							Panel.ZIndex="1"
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
							Foreground="#FF8E96A2"
							Text="{TemplateBinding Content}"
							Visibility="Collapsed"
							/>
						<Border
							x:Name="FocusVisualElement"
							Grid.RowSpan="2"
							Margin="-1"
							BorderBrush="{DynamicResource FocusBrush}"
							BorderThickness="1"
							CornerRadius="2.75"
							IsHitTestVisible="false"
							Opacity="0"
							/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsMouseOver" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard Storyboard="{StaticResource HoverOn}"/>
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsPressed" Value="True">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="PressedOn_BeginStoryboard" Storyboard="{StaticResource PressedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsKeyboardFocused" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsChecked" Value="true">
							<Trigger.ExitActions>
								<BeginStoryboard x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" />
							</Trigger.ExitActions>
							<Trigger.EnterActions>
								<BeginStoryboard x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" />
							</Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="false">
							<Setter Property="Foreground" Value="#ADADAD"/>
							<Setter TargetName="DisabledVisualElement" Property="Visibility" Value="Visible"/>
							<Setter TargetName="DisabledOverlay" Property="Visibility" Value="Visible"/>
							<Setter TargetName="contentPresenter" Property="Visibility" Value="Collapsed"/>
							<Setter TargetName="DisabledVisualElement" Property="Opacity" Value="1"/>
						</Trigger>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="ToolTip">
		<Setter Property="Background" Value="#33000000"/>
		<Setter Property="FontFamily" Value="Trebuchet MS"/>
		<Setter Property="FontSize" Value="12"/>
		<Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Padding" Value="3,0,3,0"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ToolTip">
					<Border
						x:Name="Root"
						Background="{TemplateBinding Background}"
						BorderBrush="#19000000"
						CornerRadius="3"
						>
						<Border
							Margin="-3,-3,3,3"
							BorderBrush="#FF767676"
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="3"
							Padding="4">
							<Border.Resources>
								<Storyboard x:Key="Visible State"/>
								<Storyboard x:Key="Normal State"/>
							</Border.Resources>
							<Border.Background>
								<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
									<GradientStop Offset="0.004" Color="#FFFFFFFF"/>
									<GradientStop Offset="1" Color="#FFCDDCF0"/>
								</LinearGradientBrush>
							</Border.Background>
							<ContentPresenter
								Margin="{TemplateBinding Padding}"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								Cursor="{TemplateBinding Cursor}"/>
						</Border>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>